ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Hobbyist Toolkit

cancel
Showing results for 
Search instead for 
Did you mean: 

LED Example Crashes on Raspberry Pi 5 Due to Hardware Incompatibility

Whenever I run the LED example from the Hobbyist toolkit on my Raspberry Pi 5, it crashes with a dialog box stating that DIO 7 does not exist. After researching on the Raspberry Pi forums, I discovered that the Raspberry Pi 5 has significant hardware changes. Therefore, I assume the toolkit hasn't been updated to support the Raspberry Pi 5. Can anyone help with this issue?

Here is a link to Raspberry Pi forum: Raspberry 5 issue that did not exist with Raspberry 4 - Raspberry Pi Forums

0 Kudos
Message 1 of 2
(1,118 Views)

Yes, they've completely changed not just the DIO hardware in the RPi5 but also the driver-level interface that the LINX library uses.  It will need to be almost completely re-written to get it working on RPi 5.

 

For what it's worth, I did put in some changes [1] to make things work on RPi5 but the next raspbian image release broke it again, so it needs more work.

 

[1] https://github.com/LVMakerHub/LINX/commit/ad407b7511d7211c2308e21998e1a575e0ccfe62

0 Kudos
Message 2 of 2
(1,069 Views)