here is the code im using.
#include <ESPVGAX2.h>
#include <fonts2/monodos8.h>
#include <fonts2/monaco9.h>
#include <fonts2/mfont6.h>
ESPVGAX2 vga;
uint8_t borderColor = 0xf;
void setup() {
Serial.begin(115200);
vga.begin();
vga.setBitmapFont((uint8_t*)img2_monodos8_data, 8);
vga.drawLine(0, 0, displayWidth - 1, 0, borderColor);
vga.drawLine(0, displayHeight - 1, displayWidth - 1, displayHeight - 1, borderColor);
vga.print_P(str0, 2, 2, 0x1, true);
vga.print_P(" COLUMN1", col1, row2, 0x4, true);
vga.print_P(" COLUMN2", col2, row2, 0x4, true);
vga.print_P(" COLUMN3", col3, row2, 0x4, true);
vga.print_P(str1, 1, row7, 0x4, true);
}
void loop() {
if (Serial.available()) {
String msg = Serial.readStringUntil('\r');
Serial.println("Resend! " + msg);
}
}