File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -418,7 +418,7 @@ class LightSensor(SmoothedInputDevice):
418418 Extends :class:`SmoothedInputDevice` and represents a light dependent
419419 resistor (LDR).
420420
421- Connect one leg of the LDR to the 3V3 pin; connect one leg of a 1µf
421+ Connect one leg of the LDR to the 3V3 pin; connect one leg of a 1µF
422422 capacitor to a ground pin; connect the other leg of the LDR and the other
423423 leg of the capacitor to the same GPIO pin. This class repeatedly discharges
424424 the capacitor, then times the duration it takes to charge (which will vary
@@ -443,7 +443,7 @@ class LightSensor(SmoothedInputDevice):
443443 :param float charge_time_limit:
444444 If the capacitor in the circuit takes longer than this length of time
445445 to charge, it is assumed to be dark. The default (0.01 seconds) is
446- appropriate for a 0.01µf capacitor coupled with the LDR from the
446+ appropriate for a 1µF capacitor coupled with the LDR from the
447447 `CamJam #2 EduKit`_. You may need to adjust this value for different
448448 valued capacitors or LDRs.
449449
You can’t perform that action at this time.
0 commit comments