Frequently Asked Question

How to fix the robot's motor running in reverse
Last Updated 8 days ago

Steps to fix the issue:

  1. Open and upload the code below into the Leanbot that has the issue:

    https://git.pythaverse.space/leanbot/Calibration_Tools/blob/master/Step_Motor_Calibration.ino

  2. Use the TB2A touch button to change the direction of the motor after pressing it.
  3. Observe that if the Leanbot moves forward, it means it is rotating in the correct direction. (If not, press TB2A one more time.)
  4. Use the TB2B touch button to stop the Leanbot (after it has moved forward).
  5. Simultaneously press both TB1A and TB1B buttons to save the current rotation direction to EEPROM memory.
  6. Upload the new code (the test code currently running) to check.

The code used to upload to the Leanbot:

image

Please Wait!

Please wait... it will take a second!