From 019347db2667d8d7154a1c950dddc8a7e486836c Mon Sep 17 00:00:00 2001 From: Steveis Date: Sun, 1 May 2016 18:04:02 +0100 Subject: [PATCH] Corrected value of capacitor used in LightSensor CamJam kit has a 1uF capacitor in it. Plus I physically tested with the 1uF cap in my CamJam #2 kit. --- gpiozero/input_devices.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpiozero/input_devices.py b/gpiozero/input_devices.py index 3f38a86..f7d0566 100644 --- a/gpiozero/input_devices.py +++ b/gpiozero/input_devices.py @@ -443,7 +443,7 @@ class LightSensor(SmoothedInputDevice): :param float charge_time_limit: If the capacitor in the circuit takes longer than this length of time to charge, it is assumed to be dark. The default (0.01 seconds) is - appropriate for a 0.01µf capacitor coupled with the LDR from the + appropriate for a 1µf capacitor coupled with the LDR from the `CamJam #2 EduKit`_. You may need to adjust this value for different valued capacitors or LDRs.