C:\Users\Greg\Documents\Arduino\libraries\GSMSHIELD\HWSerial.cpp:57:9: error: 'prog_char' does not name a type
const prog_char *p = (const prog_char *)ifsh;
What is it you have to do to pi$$ this compile error off!
C:\Users\Greg\Documents\Arduino\libraries\GSMSHIELD\HWSerial.cpp:57:9: error: 'prog_char' does not name a type
const prog_char *p = (const prog_char *)ifsh;
What is it you have to do to pi$$ this compile error off!
Perhaps make sure that the type "prog_char" is really defined?
As you can see in this link, prog_char is an old, deprecated type.
The correct type is PGM_P, which replaces const prog_char*.
Try replacing that line with:
PGM_P p = (PGM_P)ifsh;
giova014:
As you can see in this link, prog_char is an old, deprecated type.The correct type is PGM_P, which replaces const prog_char*.
Try replacing that line with:
PGM_P p = (PGM_P)ifsh;
Thanks mate!
Don't like much the way this library is setup! It would be so much simpler if you just passed in a pointer to the serial connection you wanted to use with the shield.
That seems to be the way most other libraries for serial shields work.