blink twice slowly at start

pico-v0.39
alanbjohnston 3 years ago committed by GitHub
parent 63173ef11c
commit 15eae0fefe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -182,18 +182,18 @@ void setup() {
pinMode(LED_PIN, OUTPUT); // Set the pin as output
Serial.println("\nBlink three times");
Serial.println("\nBlink twice slowly");
digitalWrite(LED_PIN, LOW); // Turn on
delay (100); // Wait 0.1 sec
delay (250); // Wait 0.1 sec
digitalWrite(LED_PIN, HIGH); // Turn off
delay(100); // Wait 0.1 sec
delay(250); // Wait 0.1 sec
digitalWrite(LED_PIN, LOW); // Turn on
delay (100); // Wait 0.1 sec
delay (250); // Wait 0.1 sec
digitalWrite(LED_PIN, HIGH); // Turn off
delay(100); // Wait 0.1 sec
digitalWrite(LED_PIN, LOW); // Turn on
delay (100); // Wait 0.1 sec
digitalWrite(LED_PIN, HIGH); // Turn off
// delay(250); // Wait 0.1 sec
// digitalWrite(LED_PIN, LOW); // Turn on
// delay (100); // Wait 0.1 sec
// digitalWrite(LED_PIN, HIGH); // Turn off
// #define uS_TO_S_FACTOR 1000000ULL /* Conversion factor for micro seconds to seconds */
// #define TIME_TO_SLEEP 10 /* Time ESP32 will go to sleep (in seconds) */

Loading…
Cancel
Save

Powered by TurnKey Linux.