Wavebubble 2010 Hardware Test
|
00001 00008 #ifndef SERIAL_H_ 00009 #define SERIAL_H_ 00010 00011 #define BAUDRATE 19200 //!< Serial baudrate for terminal communication 00012 00013 #if !defined(F_CPU) 00014 #error "No MCU crystal speed defined!" 00015 #endif 00016 00017 extern void usart_init(void); 00018 extern void pc_putc(char data); 00019 extern char pc_getc(void); 00020 extern void pc_puts(char *s); 00021 extern void pc_puts_P(const char *s); 00022 extern void putnum_ud(uint16_t n); 00023 00024 #endif /* SERIAL_H_ */