Go library for Revolution Pi

Show the world your Revolution Pi project!
Post Reply
mezz
Posts: 40
Joined: 05 Mar 2017, 23:56
Answers: 0

Go library for Revolution Pi

Post by mezz »

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
User avatar
volker
Posts: 1046
Joined: 09 Nov 2016, 15:41
Answers: 1

Re: Go library for Revolution Pi

Post by volker »

many thumbs up for sharing this with us! Great Job, well done!
Unser RevPi Motto: Don't just claim it - make it!
martijngerrits
Posts: 5
Joined: 20 Apr 2020, 11:37
Answers: 0

Re: Go library for Revolution Pi

Post by martijngerrits »

This is great!!!!! :D 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+
Post Reply