I am working on a library for the GPIO ports for Beaglebone Black
For now the library can export a pin and set its direction.
You can find it here: https://github.com/xyz32/boneGPIO
Thank you.
As an update, GPIO is done. I am now working on the PWM.
Cheers.
I am proud to announce: Version 0.6.0 is out!
This weekend I made the time to finish the I2C support. So I2C is done and tested, works like a charm (I know IKEA syndrome).
There are also lots of performance improvements for GPIO and PWM.
Next stop UART (should be similar to I2C) and eQEP, enhanced Quadrature-Encoder Pulse, (No idea where to start).
Note that for now the library requires this PR: https://github.com/nim-lang/Nim/pull/3728 as it requires ioctl support.
Also, the library is not yet in Nimble because I am not that happy with its name.
Thanks for this library!
I'm new to Nim, and the one thing about it that excites me is the potential for using it to target the Beaglebone's PRU.
Have you investigated Nim's potential to target the PRU? What do you think?
Thanks
The library is now available through nimble.
See it in action: