Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <Wire.h>
- void setup()
- {
- Wire.begin(); // join i2c bus
- }
- void loop()
- {
- Wire.beginTransmission(4); // transmit to device #4
- Wire.write(0x52); //Transmit SHOW_COLOR command, white screen
- Wire.write(0x03);
- Wire.write(0x0F);
- Wire.write(0xFF);
- Wire.write((byte)0x00); //(byte) included to remove ambiguity in command
- Wire.endTransmission(); // stop transmitting
- }
Advertisement
Add Comment
Please, Sign In to add comment