Hi there,
I'm currently trying to further develop my project by doing what I have already done in Python, in blockly - which is to control a JunkBot(Consisting of pens, a motor and a base robot body) with the Raspberry Pi and a motorboard attached.
To do this, I am using the RPIO library.
My issue with blockly (Very new to blockly, only just managed to get an environment of it working and running fine on the PI) is creating the blocks to utilize the library. Once this has been achieved, getting the user inputs should be a doddle I'm hoping!
Essentially the aim is:
- Use blockly to generate Python code which controls the direction of a motor (Clockwise, anticlockwise) via user key input
- Use the RPIO Library to achieve this
- Show the process of going from blockly to actual Python code to use on an educational basis.
However as there's not too many(Or none, that i've looked at) projects that are based on either Raspberry Pi's or using the RPIO/GPIO libraries. My question I suppose is how would one go about supporting the libraries in the blockbuilder or even the main code editor?
Cheers!