Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int uart_putc(unsigned char c)
- {
- while (!(UCSRA & (1<<UDRE)))
- {
- }
- UDR = c;
- return 0;
- }
- void uart_puts (char *s)
- {
- while (*s)
- {
- uart_putc(*s);
- s++;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement