programming in C++ or Java

Are there any examples for using the ThunderBorg with C++ or Java?
Is it possible anyway, using wiringPi maybe?

piborg's picture

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?

Thanks a lot piborg! That's more help than excpected. It will take quite some time to go through the examples.

Subscribe to Comments for "programming in C++ or Java"