Debian Codegraph @

microhope/microhope-doc/prog/echo.c

raw
1 #include "pmdk_lcd.c"
2 #include "pmdk_uart.c"
3
4 int main(void)
5 {
6 uint8_t data;
7
8 lcd_init();
9 uart_init(38400);
10
11 for(;;)
12 {
13 data = uart_recv_byte();
14 lcd_put_char(data);
15 uart_send_byte(data);
16 }
17 }