Hi world,
I have ported the piControl C interface to the Go language:
https://github.com/mezzato/revpi
All the details are on the page.
Since C and Python seemed to be the languages of choice (and this makes perfect sense in many cases) but I prefer Go to write extensive code for the Raspberry Pi I decided to port the system calls of the piControl to Go. It turned out to be a straightforward task.
If you like Go approach to concurrency and you need modern Web libraries you may find this project useful.
The project can be compiled cross-platform and besides the Go code there are CMake files to cross-compile the piControl and piTest C code as well.
Enrico
Go library for Revolution Pi
Re: Go library for Revolution Pi
many thumbs up for sharing this with us! Great Job, well done!
Unser RevPi Motto: Don't just claim it - make it!
-
- Posts: 5
- Joined: 20 Apr 2020, 11:37
Re: Go library for Revolution Pi
This is great!!!!! Exactly what I was looking for. I hope this still works.
I will definitely look into this once I feel confident that the BalenaOS images will work on the RevPi Connect+
I will definitely look into this once I feel confident that the BalenaOS images will work on the RevPi Connect+