D
david90
Guest
Code:
# include # include # define BAUDRATE 19200 # define 8000000 xtalCpu int main () {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;}