SPI and I2C master/slave -Arduino

If this does not fit in this site, please ignore the question.

I just got the Arduino Diecimila a week ago. The board seems to be all-round player.

One question:
May I use the board as an input/output device for SPI or I2C master/slave?

Appreciate your interest in this regard.



For I2C, see the Wire library (documentation on the Wiring website): Wire \ Libraries \ Wiring

For SPI, you’ll need (for the moment) to do use low-level code, you might be able to find some examples if you search Google.

Many thanks for your help.

I might connect the SCA3000 accelerometer for 3-axis acceleration with I2C output this time.
Later on, I’ll give it a try inside google for the SPI operations :).