week 2

I followed the instructions for Arduino lab – digital input and this is what happened:

and that was the code:

Screen shot 2015-09-13 at 15.46.15

and here with a switch: