void sop4618_S::cursorXY(uint8_t line, uint8_t col)
{
if(line < 1 || line > m_Rows)
return;
if(col < 1 || col > m_Cols)
return;
String s("\e[");
char buf[16];
char lbuf[4];
char cbuf[4];
memset(buf, 0x0, sizeof(buf));
memset(lbuf, 0x0, sizeof(lbuf));
memset(cbuf, 0x0, sizeof(cbuf));
itoa(line, lbuf, 10);
itoa(col, cbuf, 10);
s += lbuf + String(';') + cbuf + String('H');
s.toCharArray(buf, sizeof(buf));
puts(buf);
delay(50);
flush();
}