I am trying to compile an example sketch which is included with the MD_MAX72XX library (MD_MAX72XX_Test.ino) on a NodeMCU V1.0. However, I am getting an error (see below). I believe the code is okay because it compiles when I change the board to a UNO.
Can anyone assist is resolving this issue?
ERROR:
In file included from /root/Arduino/libraries/MD_MAX72xx/examples/MD_MAX72xx_Test/MD_MAX72xx_Test.ino:4:0:
/root/Arduino/libraries/MD_MAX72xx/src/MD_MAX72xx.h:288:33: error: section attribute not allowed for 'MD_MAX72XX::fontType_t'
typedef const PROGMEM uint8_t fontType_t;
^
/root/Arduino/libraries/MD_MAX72xx/examples/MD_MAX72xx_Test/MD_MAX72xx_Test.ino: In function 'void loop()':
/root/Arduino/libraries/MD_MAX72xx/examples/MD_MAX72xx_Test/MD_MAX72xx_Test.ino:610:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
scrollText("Graphics ");
^
/root/Arduino/libraries/MD_MAX72xx/examples/MD_MAX72xx_Test/MD_MAX72xx_Test.ino:623:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
scrollText("Control ");
^
/root/Arduino/libraries/MD_MAX72xx/examples/MD_MAX72xx_Test/MD_MAX72xx_Test.ino:630:27: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
scrollText("Transform ");
^
/root/Arduino/libraries/MD_MAX72xx/examples/MD_MAX72xx_Test/MD_MAX72xx_Test.ino:636:25: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
scrollText("Charset ");
^
Using library MD_MAX72xx at version 2.6 in folder: /root/Arduino/libraries/MD_MAX72xx
exit status 1
Error compiling.