SHARE
TWEET

Untitled

a guest Jan 22nd, 2017 37 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <Wire.h>
  2. void setup()
  3. {
  4.   Wire.begin(42); // join i2c bus
  5.   Serial.begin(9600);
  6. }
  7.  
  8. void loop()
  9. {
  10.   delay(100);
  11.     Wire.write("hi");
  12.     Serial.println("sent");
  13. }
RAW Paste Data
Top