/
Exercise 1
Exercise 1
Task
Modify your blinky program such that it blinks only when the switch is turned ON.
Hint
In setup(), pinMode(2, INPUT); should be inserted.
Place the code for blinking the LED below // do something in the code in Using Digital Input section.
, multiple selections available,
Related content
Digital Output : Getting Started
Digital Output : Getting Started
More like this
Exercise 3
Exercise 3
More like this
Exercise 1 Solution
Exercise 1 Solution
More like this
Exercise 2
Exercise 2
More like this
Exercise 3 Solution
Exercise 3 Solution
More like this
Exercise 2 Solution
Exercise 2 Solution
More like this