示例#1
0
void term_cursor(uint8_t row, uint8_t column) {
    send_esc('[');
    send_dec(row);
    t_putc(';');
    send_dec(column);
    t_putc('H');
    }
示例#2
0
void adc_showTemp()
{
	t_print("Temp is ");
	t_print(getTemp());
	t_putc(248);
	t_print("C\n");
}
示例#3
0
static void print(const char *str,ksize_t len){
	int i = 0;
	while(i < len){
		t_putc((int)((const unsigned char *)str)[i]);
		i++;
	}
}
示例#4
0
文件: wsle.c 项目: radarsat1/siconos
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);
}
示例#5
0
void term_clear(void) {
    send_esc('[');
    t_putc('2');
    t_putc('J');
    }
示例#6
0
void send_dec(uint8_t n) {
    t_putc('0' + (n/10));
    t_putc('0' + (n%10));
    }
示例#7
0
void send_esc(uint8_t c) {
    t_putc(0x1b);
    t_putc(c);
    }