completely redid PWM: Now calculate 'microprograms', i.e. pairs of
[moodlight.git] / console.h
CommitLineData
2d3643ee 1/* $Id: console.h,v 1.1 2010/06/26 12:28:09 simimeie Exp $
2 * Functions for a serial console.
3 */
4
5#ifndef _CONSOLE_H_
6#define _CONSOLE_H_
7
8#include <avr/pgmspace.h>
9
10/* Init needs to be called with IRQs still disabled! */
11void console_init(void);
12
13/* These can be called with interrupts enabled (and will reenable them!) */
14void console_printtext(const uint8_t * what);
15void console_printpgm_P(PGM_P what);
16void console_printhex8(uint8_t what);
17void console_printdec(uint8_t what);
18
19#endif /* _CONSOLE_H_ */
This page took 0.043159 seconds and 4 git commands to generate.