Printing elements of char array from PROGMEM Given:

const char* PROGMEM names[] = {"Foo","Bar"};
Serial.print(names[0]);


I get garbage output. Is there some function that will print the string from PROGMEM? E.G.:

Serial.print(&lt;function name&gt;(names[0]);
Among many others, check out pgmspace.h utilities at
AVR-libc