kopia lustrzana https://github.com/pimoroni/pimoroni-pico
Fix LTR559 duty cycle
rodzic
9e1eb6723d
commit
bd648034f5
|
@ -36,8 +36,8 @@ namespace pimoroni {
|
||||||
reset();
|
reset();
|
||||||
interrupts(true, true);
|
interrupts(true, true);
|
||||||
|
|
||||||
// 50mA, 1.0 duty cycle, 30Hz, 1 pulse
|
// 50mA, 100% duty cycle, 30Hz, 1 pulse
|
||||||
proximity_led(50, 1.0, 30, 1);
|
proximity_led(50, 100, 30, 1);
|
||||||
|
|
||||||
// enabled, gain 4x
|
// enabled, gain 4x
|
||||||
light_control(true, 4);
|
light_control(true, 4);
|
||||||
|
|
Ładowanie…
Reference in New Issue