/* if you hard code a string in the program then you need to decalare
* it like: char *str =PSTR("hello world");
* and then use lcd_puts_p(str);*/
-extern void lcd_puts_p(const prog_char *progmem_s); /* print string from program memory on lcd (no auto linefeed) */
+extern void lcd_puts_p(const char *progmem_s ); /* print string from program memory on lcd (no auto linefeed) */
+// lcd_puts_p can be used like this: lcd_puts_p(PSTR("hello"))
extern void lcd_init(void); /* initialize the LCD. Call this once*/
extern void lcd_reset(void);
-/*
-** macros for automatically storing string constant in program memory
-*/
-#ifndef P
-#define P(s) ({static const char c[] __attribute__ ((progmem)) = s;c;})
-#endif
-#define lcd_puts_P(__s) lcd_puts_p(P(__s))
-
#endif //LCD_H