Ok, I spoke too soon. It did work once. I have a 3 axis accelorometer/gyro and a compass connected. And was getting readings on all axis, and from the compass. So that was good. Then I did something else with the mBot, and came back to this. I did ‘upgrade firmware’ again, and ran the program. Now I was getting a number (Not 0) it was 121.xxxx, but I was getting the exact same value for each axis of the accel / gyro and for the compass. The values did not change as I moved the sensors.
I turned everything off, disconnected everything, and stopped the mBlock program. Then I started mBlock up again, reconnected the mBot, etc. And did 'upgrade firmware again. Now when I run the program I am back to all 0s again.
Do I have to install that driver (and restart) every time?
Here is the program: