Created
March 16, 2017 22:30
-
-
Save AgustinParmisano/cf460a7bc7135b987b89444657c4aa3a to your computer and use it in GitHub Desktop.
Ldr sensor local simple tested
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
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