The documentation reads
Robot.text(toWrite, x, y, writeOrErase) which does not work.
Robot.text(toWrite, x, y) which is in the sample seems to work - but the erasing by using Robot.fill also does not work.
![]()
The documentation reads
Robot.text(toWrite, x, y, writeOrErase) which does not work.
Robot.text(toWrite, x, y) which is in the sample seems to work - but the erasing by using Robot.fill also does not work.
![]()
There is also a bug in the LCDPrint example
Examples->Robot Control->learn->LCDPrint
Robot.fill(0, 255, 0);
 Robot.textSize(1);
 Robot.text(value, 0, 0);Â
 delay(500);
 // erase the previous text on the screen
 Robot.fill(255, 255, 255);
 Robot.textSize(1);
 Robot.text(value, 0, 0);
should be
Robot.stroke(0, 0, 0); // or whatever colour you want
 Robot.textSize(1);
 Robot.text(value, 0, 0);Â
 delay(500);
 // erase the previous text on the screen
 Robot.stroke(255, 255, 255);
 Robot.textSize(1);
 Robot.text(value, 0, 0);
https://github.com/arduino/Arduino/blob/master/libraries/Robot_Control/lcd.cpp shows the code for the fourth argument commented out, so it would be great if the docs were updated.