When i compile my LCD program it runs but the when I try to restart the robot it will not run and just displays this:
but 0 0 0
but 0 0 0
Here is my code so far:
#pragma config(UART_Usage, UART1, uartVEXLCD, baudRate19200, IOPins, None, None)
#pragma config(UART_Usage, UART2, uartNotUsed, baudRate4800, IOPins, None, None)
//!!Code automatically generated by ‘ROBOTC’ configuration wizard !!//
#pragma platform(VEX)
//Competition Control and Duration Settings
#pragma competitionControl(Competition)
#pragma autonomousDuration(20)
#pragma userControlDuration(120)
#include “Vex_Competition_Includes.c” //Main competition background code…do not modify!
/////////////////////////////////////////////////////////////////////////////////////////
//
// Pre-Autonomous Functions
//
// You may want to perform some actions before the competition starts. Do them in the
// following function.
//
/////////////////////////////////////////////////////////////////////////////////////////
void pre_auton()
{
bStopTasksBetweenModes = false;
bLCDBacklight=true;
clearLCDLine(0);
clearLCDLine(1);
displayLCDCenteredString(0,“Welcome”);
displayLCDCenteredString(1, “Volt Robotics”);
wait1Msec(5000);
}
Any help would be greatly appreciated!