Light Blocking Sensor | ArduinoSOURCE CODE: const int lightBlocking = A0; //define sensor to pin A0 const int led = 9;//define led to pin 9 int val;//create sensor...
Key Pad w/ Serial Monitor | ArduinoSOURCE CODE: //Keypad Serial Monitor #include <Keypad.h> const byte ROWS = 4; //four rows const byte COLS = 4; //four columns //define...
Control 12 LEDs without a Shift Register-ArduinoSOURCE CODE: const int led1 = 2; const int led2 = 3; const int led3 = 4; const int led4 = 5; const int led5 = 6; const int led6 = 7;...