Created
October 26, 2024 06:23
-
-
Save maxpromer/fb5b28f9e34a2bd3e863422d679ffff0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void setup() { | |
pinMode(LED_BUILTIN, OUTPUT); | |
} | |
void loop() { | |
analogWrite(LED_BUILTIN, 0); | |
delay(2000); | |
analogWrite(LED_BUILTIN, 64); | |
delay(2000); | |
analogWrite(LED_BUILTIN, 127); | |
delay(2000); | |
analogWrite(LED_BUILTIN, 191); | |
delay(2000); | |
analogWrite(LED_BUILTIN, 255); | |
delay(2000); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment