]>
git.gir.st - tmk_keyboard.git/blob - print.h
5 #include <avr/pgmspace.h>
11 // this macro allows you to write print("some text") and
12 // the string is automatically placed into flash memory :)
13 #define print(s) print_P(PSTR(s))
14 #define pchar(c) usb_debug_putchar(c)
16 void print_P(const char *s
);
17 void phex(unsigned char c
);
18 void phex16(unsigned int i
);
19 void pbin(unsigned char c
);
20 void pbin_reverse(unsigned char c
);