LCD Robot shutdown during Driver Control

Hello, I just started using my LCD screen and after about 1 minute in driver control, the LCD code would reset causing our bot to stop working and having one of our teammates to press the middle button. Is there any way to fix this, is it a short? or is it just the LCD?

This will happen if you have the following scenario.

  1. You have LCD code in pre-auton that wait’s for user input.
  2. The robot resets during a match for some reason like the battery connector is loose.

The solution, when you enter pre-auton check if the robot is enabled and skip the LCD code.

So for some reason your robot is running the LCD code again, most likely caused by robot reset, there are a few things that can cause this. Loose connectors, voltage dip when running all motors and not using a good backup battery, static issues etc.