lcd.drawText(x, y, text [, flags])

Draws a text beginning at (x,y)

@status current Introduced in 2.0.0

Parameters

  • x,y (positive numbers) starting coordinate

  • text (string) text to display

  • flags (unsigned number) drawing flags. All values can be combined together using the + character. ie BLINK + DBLSIZE. See the Appendix for available characters in each font set.

    • 0 or not specified normal font

    • XXLSIZE jumbo sized font

    • DBLSIZE double size font

    • MIDSIZE mid sized font

    • SMLSIZE small font

    • INVERS inverted display

    • BLINK blinking text

Return value

none

Examples

lcd/drawText-example

Last updated

Was this helpful?