When the indicator is set to Play mode, the state of the diode does not change, it is constantly lit. When GPIO2 is shorted to ground, the diode is off. What should be done to make it turn off when there is no sound.
the question is closed
I reassigned sys.ledgpio("x") from default 4 to 2: Change the default Led GPIO (4) to x
When the indicator is set to Play mode, the state of the diode does not change, it is constantly lit. When GPIO2 is shorted to ground, the diode is off. What should be done to make it turn off when there is no sound.
the question is closed I reassigned sys.ledgpio("x") from default 4 to 2: Change the default Led GPIO (4) to x