--- /dev/null
+/* $Id: console.h,v 1.1 2010/06/26 12:28:09 simimeie Exp $
+ * Functions for a serial console.
+ */
+
+#ifndef _CONSOLE_H_
+#define _CONSOLE_H_
+
+#include <avr/pgmspace.h>
+
+/* Init needs to be called with IRQs still disabled! */
+void console_init(void);
+
+/* These can be called with interrupts enabled (and will reenable them!) */
+void console_printtext(const uint8_t * what);
+void console_printpgm_P(PGM_P what);
+void console_printhex8(uint8_t what);
+void console_printdec(uint8_t what);
+
+#endif /* _CONSOLE_H_ */