draw-text

wayland/ssd1306-oled-i2c/draw-text

Writes string to display buffer. To show content of display buffer on screen use node send-buffer-to-display.
draw-text
@/draw-text
Writes string to display buffer. To show content of display buffer on screen use node send-buffer-to-display.
DEV@/ssd1306-oled-i2c-device
An SSD1306 OLED device.
Xnumber
Cursor position x coordinate.
Ynumber
Cursor position y coordinate.
TEXTstring
Text string. Special characters can be specified using octal index. For example the degree symbol "°" (decimal code 248) can be specified using "\370".
SIZEbyte
Font size.
COLOURnumber
Colour of circle. Options: 0 = black; 1 = white; 2 = invert.
WRAPboolean
If TRUE text is wrapped.
UPDpulse
Update. Trigger write to display buffer.
draw-text
DEVDEVXXYYTEXTTEXTSIZESIZECOLOURCOLOURWRAPWRAPUPDUPDDONEDONE
DONEpulse
Pulses on completion.
To use the node in your project you should have the wayland/ssd1306-oled-i2c library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.