Menu

print

Majenko Technologies

The GLCD object inherits the public methods from the Print class. This means you can use the standard print and println methods you are used to using.

They implement auto-scroll and line-wrap, so if you go off the right of the display it wraps the text to the left of the next line, and if you go off the bottom of the display it scrolls the display up a line.

You can set the current cursor position with the [setCursor] method.

Certain special characters are also interpreted:

  • 0x08 - Move back one space, erasing the previous character from the screen (^H - BS)
  • 0x0C - Clear the screen (^L - FF)
  • 0x0A - Move down one line ('\n' - LF)
  • 0x0D - Return to the start of the current line ('\r' - CR)

Related

Wiki: User Interface
Wiki: gText
Wiki: setCursor

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.