Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (13 sloc) 273 Bytes
/* Fotoresistencia o LDR
* Copyright: codigoelectronica.com
* Author: Oscar Fernandez Alzate
* License: MIT
*/
const int sensorPin = 0;
void setup() {
Serial.begin(9600);
}
void loop() {
int valueAnalog = analogRead(sensorPin);
Serial.println(valueAnalog);
}
You can’t perform that action at this time.