Revision 1207
Added usb_puts_P
serial.h | ||
---|---|---|
69 | 69 |
#define _SERIAL_H |
70 | 70 |
|
71 | 71 |
#include <inttypes.h> |
72 |
#include <avr/pgmspace.h> |
|
72 | 73 |
|
73 | 74 |
/** |
74 | 75 |
* @defgroup usb USB Input / Output |
... | ... | |
95 | 96 |
int usb_getc_nb(char *c); |
96 | 97 |
/** @brief Print a string to USB **/ |
97 | 98 |
int usb_puts(char *s); |
99 |
/** @brief Print a string from program space to USB **/ |
|
100 |
void usb_puts_P (PGM_P s); |
|
98 | 101 |
/** @brief Print an integer to USB **/ |
99 | 102 |
int usb_puti(int value); |
100 | 103 |
/** @brief Determine a hexadecimal digit **/ |
Also available in: Unified diff