Created
May 30, 2017 05:06
-
-
Save HectorTorres/96d92841b02f7a7b341373e8fb23b0fe to your computer and use it in GitHub Desktop.
arduin-adc-vb
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
double pot=0; | |
double resolucion; | |
String v; | |
void setup() | |
{ | |
Serial.begin(9600); | |
} | |
void loop() | |
{ | |
resolucion = analogRead(pot); | |
v = String(resolucion); | |
Serial.println(v); | |
delay(100); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment