I am trying to understand exactly what F() does when its used in something like Serial.print(F(“Hello from PROGMEM”));
Here is all I could find in WString.h
#define F(string_literal) (reinterpret_cast<__FlashStringHelper *>(PSTR(string_literal)))
Found this in pgmspace.h
There is no other things besides a simple class name and this macro.
Can someone explain to me the syntax in the F() macro please? My OOP is not strong enough to understand this line :~
BTW, realized the lib author was using doxgen I can use the code to learn how to use doxgen