Skip to content

Instantly share code, notes, and snippets.

@AgustinParmisano
Created March 16, 2017 22:30
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 AgustinParmisano/cf460a7bc7135b987b89444657c4aa3a to your computer and use it in GitHub Desktop.
Save AgustinParmisano/cf460a7bc7135b987b89444657c4aa3a to your computer and use it in GitHub Desktop.
Ldr sensor local simple tested
int pinLDR = 0;
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
delay(200);
int valorLDR= analogRead(pinLDR);
Serial.println(valorLDR);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment