Almost a complete rewrite:
- No longer depends on
pigpio
- Uses standard Linux subsystems via
lgpio
and the Linux sysfs interface instead - Because of this, no longer limited just to Raspberry Pi Boards. Any Linux SBC should work once it has the relevant drivers.
- Almost full feature parity, and interface compatibility, with the main
denko
gem, except:- No on-board ADCs and DACs in Linux
- No on-board EEPROMs in Linux
- No shift register listeners
- No UARTs (yet)
- Will build on
rubyserial
eventually, when implementing first peripheral over a UART interface
- Will build on
- WS2812 only works via a SPI MOSI pin, not any pin, like some microcontrollers
- Introduced board maps:
- Make it easier to refer to GPIO numbers, I2C/SPI device indices etc.
- Raises errors / warns users if trying to access some reserved resources
- Board maps included for:
- Orange Pi Zero 2W
- Radxa Zero3W/E
- Raspberry Pi 4 and lower (with 40-pin header only)