1
0
mirror of https://github.com/binary-kitchen/doorlockd synced 2024-12-23 02:34:27 +01:00
doorlockd-mirror/avr-code/uart.h

14 lines
209 B
C
Raw Normal View History

2015-09-16 22:58:00 +02:00
#ifndef UART_H
#define UART_H
#define BAUD 9600UL
void uart_set_recv_handler(void (*handler)(unsigned char c));
void uart_init(void);
void uart_putc(const char c);
void uart_puts(const char* str);
#endif