The generated construction code for
is
MeGyro gyro_1;
but the gyro is not read
whereas, based on mBlock 3.4.11,
it should be
MeGyro gyro_1(0, 0x69);
If manually entered via Arduino mode, it compiles and the gyro is read
The generated construction code for
whereas, based on mBlock 3.4.11,
it should be
MeGyro gyro_1(0, 0x69);
If manually entered via Arduino mode, it compiles and the gyro is read
Have you connected a single gyrodcopr module?
Or you want the z-axis angle of on board gyroscope?
There is block for onboard gyroscope:
and block is for external gyroscope module.
For more question, please tell us more details.