void term_cursor(uint8_t row, uint8_t column) { send_esc('['); send_dec(row); t_putc(';'); send_dec(column); t_putc('H'); }
void adc_showTemp() { t_print("Temp is "); t_print(getTemp()); t_putc(248); t_print("C\n"); }
static void print(const char *str,ksize_t len){ int i = 0; while(i < len){ t_putc((int)((const unsigned char *)str)[i]); i++; } }
integer e_wsle(Void) { t_putc('\n'); f__recpos = 0; if (f__cf == stdout) fflush(stdout); else if (f__cf == stderr) fflush(stderr); return(0); }
void term_clear(void) { send_esc('['); t_putc('2'); t_putc('J'); }
void send_dec(uint8_t n) { t_putc('0' + (n/10)); t_putc('0' + (n%10)); }
void send_esc(uint8_t c) { t_putc(0x1b); t_putc(c); }