You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to control LED strips (WS281X) using the GPIO interface on a Colibri iMX7 (see data sheet in the attachments or the link).
As far as I understood, I would need to create GpioDeviceFactoryInterface? How would I go about that?
The Colibri device also have PWM pins if that is easier.
WARN com.diozero.sbc.LocalSystemInfo.populateFromLsCpu - Error with lscpu command: Cannot run program "lscpu": error=2, No such file or directory
ERROR bridge.LEDTest.main - com.diozero.api.NoSuchDeviceException: No such GPIO #1
at com.diozero.sbc.BoardPinInfo.lambda$getByGpioNumberOrThrow$0(BoardPinInfo.java:239)
at java.base/java.util.Optional.orElseThrow(Optional.java:403)
at com.diozero.sbc.BoardPinInfo.getByGpioNumberOrThrow(BoardPinInfo.java:239)
at com.diozero.api.DigitalOutputDevice.<init>(DigitalOutputDevice.java:142)
at com.diozero.api.DigitalOutputDevice.<init>(DigitalOutputDevice.java:129)
at com.diozero.api.DigitalOutputDevice.<init>(DigitalOutputDevice.java:118)
at com.diozero.devices.LED.<init>(LED.java:82)
at bridge.LEDTest.main(LEDTest.java:14)
I am trying to control LED strips (WS281X) using the GPIO interface on a Colibri iMX7 (see data sheet in the attachments or the link).
As far as I understood, I would need to create
GpioDeviceFactoryInterface
? How would I go about that?The Colibri device also have PWM pins if that is easier.
colibri_arm_som_imx7_datasheet.pdf
has the output:
Executing:
has the output:
Thanks in advance!
The text was updated successfully, but these errors were encountered: