Question about Self-Balancing Robot

During that time your Arduino does bnot drive any of the motors unless you use the TX pin for a motor.

What battery? Connected how?

Your topic has been moved to a more suitable location on the forum. Installation and Troubleshooting is not for problems with (nor for advise on) your project :wink: See About the IDE 1.x category.