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
2012-18: 1B*5, 2B*2, B+, A+, Z, ZW, 3Bs*3, 3B+
Any DMs sent on Twitter will be answered next month.