Skip to content

Instantly share code, notes, and snippets.

@HectorTorres
Created May 30, 2017 05:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save HectorTorres/96d92841b02f7a7b341373e8fb23b0fe to your computer and use it in GitHub Desktop.
Save HectorTorres/96d92841b02f7a7b341373e8fb23b0fe to your computer and use it in GitHub Desktop.
arduin-adc-vb
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