RobotC LCD Programming

If I want to continually display the battery voltage on my LCD display, while running autonomous and operator code, do I put all my autonomous and operator control code within the LCD infinite ‘while (true)’ loop? I’ve got the LCD code written, but don’t know how to integrate the rest of my code so that the LCD will always be displaying battery power while the robot runs the autonomous and operator control code. Please help!

You can put the LCD code in a separate task, and then start that task in the pre_auton. If you make the bStopTasksBetweenModes = false then the task will continue to run in autonomous and driver control.