Can anyone share sample mblock code for these?
- Me compass
- 3-axis accelerometer/gyro
Received both modules from makeblock today with the typical no instructions, no help, no nothing.
I see Arduino code instructions online for the compass, but I need this to work in mblock to teach my son.
I’ve tried creating a very basic program to set a variable to the output of each of the above modules, but the variable never receives any value. See code attachment.
Note: both modules show a continuous red light. I have no idea if that means anything. I am connecting to an mBot board.