As ThunderBorg works using I2C both C++ and Java are able to communicate with the board.
We do not have any examples for those languages, but you should be able to code a library / class using a standard I2C API and the values in ThunderBorg.py. I believe you can do this with the wiringPi I2C
I am not sure if this will help you but there is a library written in JavaScript for PicoBorg Reverse here: https://github.com/CodyErekson/picoborgrev
You would need to change the constants.js values so they match the values in ThunderBorg.py instead. The majority of the commands (such as moving motors) are essentially the same for both boards.
piborg
Fri, 10/06/2017 - 10:55
Permalink
Controlling ThunderBorg from other languages
As ThunderBorg works using I2C both C++ and Java are able to communicate with the board.
We do not have any examples for those languages, but you should be able to code a library / class using a standard I2C API and the values in ThunderBorg.py. I believe you can do this with the wiringPi I2C
I am not sure if this will help you but there is a library written in JavaScript for PicoBorg Reverse here: https://github.com/CodyErekson/picoborgrev
You would need to change the constants.js values so they match the values in ThunderBorg.py instead. The majority of the commands (such as moving motors) are essentially the same for both boards.
These threads may also help for creating a C/C++ library instead:
PicoborgRev C/C++ Library
C programming examples?
mamue
Sat, 10/07/2017 - 10:57
Permalink
Thanks a lot piborg! That's
Thanks a lot piborg! That's more help than excpected. It will take quite some time to go through the examples.