Instructions

25/06/2015 DFRduinoBeginnerKitForArduinoV3SKU:DFR0100RobotWiki
http://www.dfrobot.com/wiki/index.php/DFRduino_Beginner_Kit_For_Arduino_V3_SKU:DFR0100 18/23
48
49
50
51
52
53
digitalWrite(relayPin,relayState);
//savethereading.Nexttimethroughtheloop,
//it'llbethelastButtonState:
lastButtonState=reading;
}
14.InfraredcontrolledLight