diff options
| author | abel <abeltimm@protonmail.com> | 2022-12-08 14:25:00 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-08 14:25:00 +0100 |
| commit | 77096ba07c582a8ed8a6fa925ca1f683ba92e199 (patch) | |
| tree | d14cb5b6f51092a6a9e70433a3078682fe32e925 | |
| parent | 4fe3c02c12f9d36f0eabeb6cc6a9ec18b298e46d (diff) | |
| download | robotica-77096ba07c582a8ed8a6fa925ca1f683ba92e199.tar.gz robotica-77096ba07c582a8ed8a6fa925ca1f683ba92e199.zip | |
50%
| -rw-r--r-- | arduino.ino | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/arduino.ino b/arduino.ino index f328aa9..80b83ab 100644 --- a/arduino.ino +++ b/arduino.ino @@ -7,7 +7,19 @@ void setup() { // the loop function runs over and over again forever void loop() { digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level) - delay(1000); // wait for a second + delay(10); // wait for a second digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW - delay(1000); // wait for a second + delay(10); // wait for a second + digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level) + delay(10); // wait for a second + digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW + delay(10); + digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level) + delay(10); // wait for a second + digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW + delay(10); + digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level) + delay(10); // wait for a second + digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW + delay(10); } |
