Rev 1 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1 | Rev 41 | ||
---|---|---|---|
1 | #ifndef _PRINTF_P_H_ |
1 | #ifndef _PRINTF_P_H_ |
2 | #define _PRINTF_P_H_ |
2 | #define _PRINTF_P_H_ |
3 | 3 | ||
4 | 4 | ||
5 | 5 | ||
6 | extern void _printf_P (char const *fmt0, ...); |
6 | void _printf_P (char const *fmt0, ...); |
7 | 7 | ||
8 | 8 | ||
9 | #define printf_P(format, args...) _printf_P(format , ## args) |
9 | #define printf_P(format, args...) _printf_P(format , ## args) |
10 | #define LCD_printfxy(x,y,format, args...) { DispPtr = y * 20 + x; _printf_P(format , ## args);} |
10 | #define LCD_printfxy(x,y,format, args...) { DispPtr = y * 20 + x; _printf_P(format , ## args);} |
11 | #define LCD_printf(format, args...) { _printf_P(format , ## args);} |
11 | #define LCD_printf(format, args...) { _printf_P(format , ## args);} |
12 | 12 | ||
13 | #endif |
13 | #endif |
14 | 14 |