How can I include gyro_1.update in the mail loop of my mBlock program


#1

The gyro on my Ulitmate2.0 robot always returns 0 for all 3 axis. mBlock did not include the gyro_1.update command in my main loop. I can edit in Arduino and add the update but Arduino is not successful in uploading to the Ultimate 2.0. If mBlock is smart enough to include the gyro_1.begin() code in setup why does it not include the .update() in the main loop?

Thanks for your helpL

Gary


#2

Please ignore this question. I found the problem and the gyro is now working properly.

Gary


#3