|
Arduboy2 Library
6.0.0
|
The Arduino Print class is available for writing text to the screen buffer.
More...
#include <Arduboy2.h>
Inheritance diagram for Print:The Arduino Print class is available for writing text to the screen buffer.
For an Arduboy2 class object, functions provided by the Arduino Print class can be used to write text to the screen buffer, in the same manner as the Arduino Serial.print(), etc., functions.
Print will use the write() function to actually draw each character in the screen buffer, using the library's font5x7 font. Two character values are handled specially:
\n, 0x0A, inverse white circle). This will move the text cursor position to the start of the next line, based on the current text size.\r, 0x0D, musical eighth note). This character will be ignored.To override the special handling of the above values, to allow the characters they represent to be printed, text raw mode can be selected using the setTextRawMode() function.
See: https://www.arduino.cc/reference/en/language/functions/communication/serial/print/
Example: