Hello,
I have a Mbot2 (Mbot Neo).
I am using ESP32 library under Arduino IDE to compile and load CyberPi software (instead of using mBlock tool) . I am for exemple able to run the ESP32 Arduino BLE code example to run a Bluetooth server on CyberPI (to which I can connect from my mobile phone with a BLE scanner app).
I now would like to add some code in my CyberPi software in order to control the motors of my mBot2. To do so, CyberPi needs to send motor commands through the mBot2 Shield Board.
I had a look at Makeblock libraries here : https://github.com/Makeblock-official/Makeblock-Libraries/tree/master/src. It seems that file MeShield.h should be used for the Shield Board GPIO mapping. But it is not clear to me if file MeShield.h is the right file to be used for the mBot2 Shield Board. Could you please confirm that file MeShield.h corresponds to the Shield Board of mBot2 ?
Moreover, I can also see under https://github.com/Makeblock-official/Makeblock-Libraries/tree/master/src following software examples : Me_DCMotor and Me_EncoderDriver_New. Are those examples supposed to run on mBot2 ? If not, could you tell me where to find source code to control the mBot2 Shield Board (by running software on CyberPi plugged on mBot2 Shield Board) ?
Thank you
Best Regards