scruss wrote: ↑
Sun Aug 06, 2017 4:57 pm
Looks like lua-periphery
is the only GPIO library for Lua that's even remotely being maintained.
The older rpi-gpio code does not support
the Raspberry Pi 2 or 3.
That library is based on Ben Croston's python GPIO. So it may be possible to fix it by replacing the cpuinfo.c program in there with the working version from https://sourceforge.net/p/raspberry-gpi ... /cpuinfo.c
If I could spell Lua and had any interest in twiddling GPIOs using Lua I'd have a go at that hack.
Microprocessor, Raspberry Pi & Arduino Hacker
Mainframe database troubleshooter
Since 2012: 1B*5, 2B*2, B+, A+, Zero*2, 3B*3
Please post ALL technical questions on the forum. Do not send private messages.