Open iaj2 opened 1 year ago
Code:
edgepi_led = EdgePiLED() print(edgepi_led.get_led_state(LEDPins.LED3))
Output: True
True
The LED is not on but it is reading that it is. Under further investigation it seems that when you explicitly turn on/off the LED and then read the state it gets it right. But I think it should right whether or not you do.
Code:
Output:
True
The LED is not on but it is reading that it is. Under further investigation it seems that when you explicitly turn on/off the LED and then read the state it gets it right. But I think it should right whether or not you do.