Using DigitalOutput I can only disable LED's controlled by LDR-CONTROLLER-LITE by Lumix on RPi CM4 using GPIO 14 (TX1) and 15(RX1).
DigitalOutputConfigBuilder builder = DigitalOutput.newConfigBuilder(context)
.id("led")
.name("LED")
.address(14)
.shutdown(DigitalState.LOW)
.initial(DigitalState.HIGH)
.provider("pigpio-digital-output");
output = context.create(builder)
output.toggle();
After I call getLow/getHigh/isOn/isOff - status is correct, but after call any status change, LED ring only turning off, and then after change again to on/high, LED's are not turning on, but status from getter method is updated correctly (high/on).
LED controller is connected to TX1 and RX1 (opposite to the markings on the controller).
In /boot/config I have enable_uart=1
Any idea what I miss/do wrong?
Using DigitalOutput I can only disable LED's controlled by LDR-CONTROLLER-LITE by Lumix on RPi CM4 using GPIO 14 (TX1) and 15(RX1).
After I call getLow/getHigh/isOn/isOff - status is correct, but after call any status change, LED ring only turning off, and then after change again to on/high, LED's are not turning on, but status from getter method is updated correctly (high/on).
LED controller is connected to TX1 and RX1 (opposite to the markings on the controller).
In /boot/config I have
enable_uart=1Any idea what I miss/do wrong?