// Archived example from my Week 11 page. Physical verification is pending. #include #define LED_PIN D1 #define MY_ADDRESS 0x08 void setup() { pinMode(LED_PIN, OUTPUT); Wire.begin(MY_ADDRESS); // join the bus with my address Wire.onReceive(onMessage); } void onMessage(int howMany) { byte msg = Wire.read(); digitalWrite(LED_PIN, msg); // 1 turns the LED on, 0 off } void loop() {}