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.
This commit is contained in:
Steveis
2016-05-01 18:04:02 +01:00
parent 7e6cc39d71
commit 019347db26

View File

@@ -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.