Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <Wire.h>
- void setup()
- {
- Wire.begin(); // join i2c bus
- Wire.beginTransmission(44); // transmit to device #44 (0x2c)
- // device address is specified in datasheet
- Wire.write(0xA); // sends value byte
- Wire.write(0xA); // sends value byte
- Wire.write(0xA); // sends value byte
- Wire.endTransmission(); // stop transmitting
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement