Created
February 10, 2021 23:53
-
-
Save mpentler/38c2fccacf8216fe2b6b7da1e45b0d06 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
int ledPWM1 = 0; | |
int ledPWM2 = 1; | |
void setup() { | |
pinMode(ledPWM1, OUTPUT); | |
pinMode(ledPWM2, OUTPUT); | |
} | |
void loop() { | |
analogWrite(ledPWM1, random(50, 120)); | |
analogWrite(ledPWM2, random(50, 120)); | |
delay(random(100)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment