diff options
Diffstat (limited to 'print.h')
| -rw-r--r-- | print.h | 2 |
1 files changed, 2 insertions, 0 deletions
| @@ -24,6 +24,7 @@ | |||
| 24 | #ifndef PRINT_H__ | 24 | #ifndef PRINT_H__ |
| 25 | #define PRINT_H__ 1 | 25 | #define PRINT_H__ 1 |
| 26 | 26 | ||
| 27 | #include <stdint.h> | ||
| 27 | #include <stdbool.h> | 28 | #include <stdbool.h> |
| 28 | #include <avr/pgmspace.h> | 29 | #include <avr/pgmspace.h> |
| 29 | 30 | ||
| @@ -34,6 +35,7 @@ extern bool print_enable; | |||
| 34 | // the string is automatically placed into flash memory :) | 35 | // the string is automatically placed into flash memory :) |
| 35 | #define print(s) print_P(PSTR(s)) | 36 | #define print(s) print_P(PSTR(s)) |
| 36 | 37 | ||
| 38 | void print_S(const char *s); | ||
| 37 | void print_P(const char *s); | 39 | void print_P(const char *s); |
| 38 | void phex(unsigned char c); | 40 | void phex(unsigned char c); |
| 39 | void phex16(unsigned int i); | 41 | void phex16(unsigned int i); |
