LCD Display

Should either of these code snippets work to run an LCD display?


task main()
{
	bLCDBacklight = true;
	clearLCDLine(0);
	while (true){
		displayLCDString(0, 5, "hello");
	}

}

task main()
{
	bLCDBacklight = true;
	clearLCDLine(0);
	displayLCDString(0, 5, "hello");
	wait10Msec(1000000);

}

Currently it displays

but 0 0 0
but 0 0 0

you don’t want to do the first one because it will run in an infinite loop without delay, the second one should work

make sure you have the UART port configured in RobotC to the LCD
and make sure the two cables going into the LCD arent reversed