Gpiod Plugin 1.0 is out.
This plugin is a wrapper for libgpiod from: libgpiod/libgpiod.git - C library and tools for interacting with the linux GPIO character device
This plugin is part of our community effort project so the plugin is completely free and open source.
The plugin encapsulates the libpgiod so does not require libpgiod to be installed.
All example projects have been tested with Raspberry Pi 2, 3, 4 (and I know a user has tested at least one example project on Raspberry Pi 5).
Additionally the plugin has been tested on the following boards: Orange Pi One, Orange Pi 2, Orange Pi 5 Plus, Rock64. (Only pin scan so far on the Orange Pi 5 plus)
The plugin deals with async operations in native threads masking the difficult things to do in Xojo.
New in version 1.0
- Added AllChips shared method to the Chip class.
- Added LineCount property to the LineRequest object.
- Added LineOffsets function to the LineRequest object.
- Added ValuesSubset getter / setter function to the LineRequest object.
- Added AllValues getter / setter function to the LineRequest object.
- Added ValueSet class.
- Updated the Get line info example project to support multi chip boards.
Download link for the plugin:
https://www.einhugur.com/Downloads/Plugs/GpiodPlugin.zip
Source code for the plugin:
https://bitbucket.org/einhugur/gpiodplugin/src/main/
I have also slowly been rebuilding the old GPIO guides to use the Gpiod Plugin and the I2C Plugin instead of Wiring Pi, so you will find more example projects and guides there: