Display text on the MTX LCD display
#include "Aria.h"
int main(int argc, char **argv)
{
{
{
}
}
{
}
robot.
comInt(ArCommands::JOYINFO, 0);
if(!lcd)
{
ArLog::log(
ArLog::Normal,
"Not connected to an LCD display. Use --help for options to customize nonstandard LCD connections.");
}
lcd->
setMainStatus(
"Hello, world.");
lcd->
setTextStatus(
"text status");
#if 0
for(unsigned char i = 0; i < 100; i += 10)
{
lcd->
setSystemMeters(i, i);
}
for(unsigned char i = 100; i >= 0; i -= 10)
{
lcd->setSystemMeters(i, i);
}
#endif
return 0;
}