From: eaman Date: Fri, 14 Oct 2016 14:17:57 +0000 (+0200) Subject: ERRATA X-Git-Url: http://git.piffa.net/web?a=commitdiff_plain;h=aa5e5dfa553bafa90ba2f7011e5facc45bae90c6;p=sketchbook_andrea ERRATA --- diff --git a/basic/analog_input/photo_5_calibration/photo_5_calibration.ino b/basic/analog_input/photo_5_calibration/photo_5_calibration.ino index 1d9b4d7..fd86f7f 100644 --- a/basic/analog_input/photo_5_calibration/photo_5_calibration.ino +++ b/basic/analog_input/photo_5_calibration/photo_5_calibration.ino @@ -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