Before I start: I had to recreate the pre-installed software of the mBot, since I tried uploading some test code, then realizing afterwards that there was no way to restore factory settings. Uups!
After reload, I had all buttons active back again. Mode A and C work, mode B doesnāt.
The robot starts by moving backwards, as if it has ran into some obstacle. Moving my hand some 2-3 cm in front of the two sensors doesnāt change this, until I close the opening of any one of the sensors. Now the robot goes forward!!?
Did I mention that re-checked the cables? Everything seems correct!
I tried some sample code shown for the UltraSonic sensor from the Makeblock wiki. The console output shows constance distance of 0cm!
I seem to have version 3 of the sensor, and the wiki is about version 2! Not sure if this would make any difference.
Looking into the mBot code (Mode B part), it looks slightly different to the sample code for sensor version 2, so maybe I need a different one.
Any idea what is wrong?