]> git.piffa.net Git - sketchbook_andrea/commitdiff
ERRATA
authoreaman <andrea@piffa.net>
Fri, 14 Oct 2016 14:17:57 +0000 (16:17 +0200)
committereaman <andrea@piffa.net>
Fri, 14 Oct 2016 14:17:57 +0000 (16:17 +0200)
basic/analog_input/photo_5_calibration/photo_5_calibration.ino

index 1d9b4d75f35f6d607f1aebbff02156aa201851e9..fd86f7f641cd6b0e494f66157ec972d53a9d2e2d 100644 (file)
@@ -39,6 +39,7 @@ int sensorMax = 0;           // maximum sensor value
 void setup() {
   // turn on LED to signal the start of the calibration period:
   pinMode(13, OUTPUT);
+  pinMode(ledPin, OUTPUT);
   digitalWrite(13, HIGH);
 
   // calibrate during the first five seconds