Last active
April 4, 2022 13:36
-
-
Save podstawek/7216cb782a544da35429735e38cea737 to your computer and use it in GitHub Desktop.
Resistor ladder control (fragment only)
This file contains 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 loop() { | |
digitalWrite(D0, LOW); | |
digitalWrite(D1, LOW); | |
digitalWrite(D2, LOW); | |
delay(2); | |
digitalWrite(D0, LOW); | |
digitalWrite(D1, LOW); | |
digitalWrite(D2, HIGH); | |
delay(2); | |
; (...end so on...) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment