ニュース

Using this Arduino Library, you have the option of using either SPI or I2C to communicate with the ADXL345.
C++ library for ADXL345 accelerometer for I2C communication with Arduino Wire library - the-risk-taker/adxl345-arduino-i2c-library ...
例えば、下記は、ArduinoIDEで、開発デバイスをArduino UNO R3など開発デバイスとしたときに出てくるWire (I2C)のサンプルスケッチ (slave_receiver.ino)です。これはArduinoをI2Cのスレーブとして動作させ、マスターからのデータを受信する例です。
Lab Note The hardware configuration described have been tested with an Arduino UNO R3, a 16×2 LCD, and an I2C LCD backpack purchased from an eBay seller. Further, the example sketch has been fully ...
Step-by-step guide on designing and programming a custom I2C slave sensor device using Arduino.