Arduino oefening: druk op een knopje en laat het ingebouwde LED branden.
|
Doel |
: |
Arduino startersoefening |
|
Nodig |
: |
|
|
/* Turns on and off the built-in-LED (light emitting diode) /// constants won't change. They're used here to set pin numbers: // variables will change: void setup() { void loop() { // check if the pushbutton is pressed. If it is, the buttonState is HIGH: |
