8.5.17 PSTR Macro
Obtain a pointer to a string in program space.
Include
<avr/pgmspace.h>
Prototype
const PROGMEM char * PSTR(string);
Remarks
Obtain a pointer to a string in program space.
Example
#include <avr/pgmspace.h>
int main(void)
{
const PROGMEM char * cp;
cp = PSTR("hello");
}