|
FabGL
ESP32 VGA Controller and Graphics Library
|
| int fabgl::TerminalClass::write | ( | const uint8_t * | buffer, |
| int | size | ||
| ) |
Send specified number of codes to the display.
Codes can be ANSI/VT codes or ASCII characters.
| buffer | Pointer to codes buffer. |
| size | Number of codes in the buffer. |
Example:
// Clear the screen and print "Hello World!"
Terminal.write("\e[2J", 4);
Terminal.write("Hellow World!\r\n", 15);
// The same without size specified
Terminal.write("\e[2J");
Terminal.write("Hellow World!\r\n");