D
david90
Guest
Code:
# include # include # include # define Baudrate 19200 # define xtalCpu 8000000 int main (void) {DDRB = 0xFF; uart_init (19200); while (1) {/ / uart_putc ('U'); _delay_ms (5000) ; PORTB = 0xFF; _delay_ms (5000); NutSleep = 0x0; _delay_ms (500);} return 0;}