Created
April 10, 2016 10:06
-
-
Save izzuddin91/4ed1268bdf373af01ee5a32f47484912 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 val = 0; | |
| void setup() { | |
| Serial.begin(9600); | |
| // put your setup code here, to run once: | |
| } | |
| void loop() { | |
| val = analogRead(0); | |
| Serial.println(val); | |
| delay(val); | |
| // put your main code here, to run repeatedly: | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment