Code compiles for Arduino but not for ESP
Posted: Mon Aug 23, 2021 9:02 am
Hi everyone,
I am new to the ESP universe and recently switched from Arduino to ESP.
In one of my hobby projects I use a ESP8266 Node MCU in combination with a 8 digit 7 segment display.
The manufacturer provides a library with examples and says it is compatible with Arduino and ESP.
I have hooked everything up and startet with the sample files. The problem is the sample files compile fine for Arduino but for ESP I receive lots of errors. Here is the link to the library on Github: https://github.com/DFRobot/DFRobot_LedDisplayModule
There is also someone with the same erros like me.
I would be very grateful if you could help me!
I am new to the ESP universe and recently switched from Arduino to ESP.
In one of my hobby projects I use a ESP8266 Node MCU in combination with a 8 digit 7 segment display.
The manufacturer provides a library with examples and says it is compatible with Arduino and ESP.
I have hooked everything up and startet with the sample files. The problem is the sample files compile fine for Arduino but for ESP I receive lots of errors. Here is the link to the library on Github: https://github.com/DFRobot/DFRobot_LedDisplayModule
There is also someone with the same erros like me.
I would be very grateful if you could help me!
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:92:123: error: default argument given for parameter 1 of 'void DFRobot_LedDisplayModule::setDisplayArea4(int, int, int, int)' [-fpermissive]
- void DFRobot_LedDisplayModule::setDisplayArea4(int areaData1 = 82,int areaData2 = 82,int areaData3 = 82,int areaData4 = 82)
- ^
- In file included from C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:15:0:
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.h:130:8: note: previous specification in 'void DFRobot_LedDisplayModule::setDisplayArea4(int, int, int, int)' here
- void setDisplayArea4(int areaData1 = 82,int areaData2 = 82,int areaData3 = 82,int areaData4 = 82);
- ^
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:92:123: error: default argument given for parameter 2 of 'void DFRobot_LedDisplayModule::setDisplayArea4(int, int, int, int)' [-fpermissive]
- void DFRobot_LedDisplayModule::setDisplayArea4(int areaData1 = 82,int areaData2 = 82,int areaData3 = 82,int areaData4 = 82)
- ^
- In file included from C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:15:0:
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.h:130:8: note: previous specification in 'void DFRobot_LedDisplayModule::setDisplayArea4(int, int, int, int)' here
- void setDisplayArea4(int areaData1 = 82,int areaData2 = 82,int areaData3 = 82,int areaData4 = 82);
- ^
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:92:123: error: default argument given for parameter 3 of 'void DFRobot_LedDisplayModule::setDisplayArea4(int, int, int, int)' [-fpermissive]
- void DFRobot_LedDisplayModule::setDisplayArea4(int areaData1 = 82,int areaData2 = 82,int areaData3 = 82,int areaData4 = 82)
- ^
- In file included from C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:15:0:
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.h:130:8: note: previous specification in 'void DFRobot_LedDisplayModule::setDisplayArea4(int, int, int, int)' here
- void setDisplayArea4(int areaData1 = 82,int areaData2 = 82,int areaData3 = 82,int areaData4 = 82);
- ^
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:92:123: error: default argument given for parameter 4 of 'void DFRobot_LedDisplayModule::setDisplayArea4(int, int, int, int)' [-fpermissive]
- void DFRobot_LedDisplayModule::setDisplayArea4(int areaData1 = 82,int areaData2 = 82,int areaData3 = 82,int areaData4 = 82)
- ^
- In file included from C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:15:0:
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.h:130:8: note: previous specification in 'void DFRobot_LedDisplayModule::setDisplayArea4(int, int, int, int)' here
- void setDisplayArea4(int areaData1 = 82,int areaData2 = 82,int areaData3 = 82,int areaData4 = 82);
- ^
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:122:199: error: default argument given for parameter 1 of 'void DFRobot_LedDisplayModule::setDisplayArea8(int, int, int, int, int, int, int, int)' [-fpermissive]
- void DFRobot_LedDisplayModule::setDisplayArea8(int areaData1 = 82,int areaData2 = 82,int areaData3 = 82,int areaData4 = 82,int areaData5 = 82,int areaData6 = 82,int areaData7 = 82,int areaData8 = 82)
- ^
- In file included from C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:15:0:
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.h:136:8: note: previous specification in 'void DFRobot_LedDisplayModule::setDisplayArea8(int, int, int, int, int, int, int, int)' here
- void setDisplayArea8(int areaData1 = 82,int areaData2 = 82,int areaData3 = 82,int areaData4 = 82,int areaData5 = 82,int areaData6 = 82,int areaData7 = 82,int areaData8 = 82);
- ^
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:122:199: error: default argument given for parameter 2 of 'void DFRobot_LedDisplayModule::setDisplayArea8(int, int, int, int, int, int, int, int)' [-fpermissive]
- void DFRobot_LedDisplayModule::setDisplayArea8(int areaData1 = 82,int areaData2 = 82,int areaData3 = 82,int areaData4 = 82,int areaData5 = 82,int areaData6 = 82,int areaData7 = 82,int areaData8 = 82)
- ^
- In file included from C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:15:0:
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.h:136:8: note: previous specification in 'void DFRobot_LedDisplayModule::setDisplayArea8(int, int, int, int, int, int, int, int)' here
- void setDisplayArea8(int areaData1 = 82,int areaData2 = 82,int areaData3 = 82,int areaData4 = 82,int areaData5 = 82,int areaData6 = 82,int areaData7 = 82,int areaData8 = 82);
- ^
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:122:199: error: default argument given for parameter 3 of 'void DFRobot_LedDisplayModule::setDisplayArea8(int, int, int, int, int, int, int, int)' [-fpermissive]
- void DFRobot_LedDisplayModule::setDisplayArea8(int areaData1 = 82,int areaData2 = 82,int areaData3 = 82,int areaData4 = 82,int areaData5 = 82,int areaData6 = 82,int areaData7 = 82,int areaData8 = 82)
- ^
- In file included from C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:15:0:
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.h:136:8: note: previous specification in 'void DFRobot_LedDisplayModule::setDisplayArea8(int, int, int, int, int, int, int, int)' here
- void setDisplayArea8(int areaData1 = 82,int areaData2 = 82,int areaData3 = 82,int areaData4 = 82,int areaData5 = 82,int areaData6 = 82,int areaData7 = 82,int areaData8 = 82);
- ^
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:122:199: error: default argument given for parameter 4 of 'void DFRobot_LedDisplayModule::setDisplayArea8(int, int, int, int, int, int, int, int)' [-fpermissive]
- void DFRobot_LedDisplayModule::setDisplayArea8(int areaData1 = 82,int areaData2 = 82,int areaData3 = 82,int areaData4 = 82,int areaData5 = 82,int areaData6 = 82,int areaData7 = 82,int areaData8 = 82)
- ^
- In file included from C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:15:0:
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.h:136:8: note: previous specification in 'void DFRobot_LedDisplayModule::setDisplayArea8(int, int, int, int, int, int, int, int)' here
- void setDisplayArea8(int areaData1 = 82,int areaData2 = 82,int areaData3 = 82,int areaData4 = 82,int areaData5 = 82,int areaData6 = 82,int areaData7 = 82,int areaData8 = 82);
- ^
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:122:199: error: default argument given for parameter 5 of 'void DFRobot_LedDisplayModule::setDisplayArea8(int, int, int, int, int, int, int, int)' [-fpermissive]
- void DFRobot_LedDisplayModule::setDisplayArea8(int areaData1 = 82,int areaData2 = 82,int areaData3 = 82,int areaData4 = 82,int areaData5 = 82,int areaData6 = 82,int areaData7 = 82,int areaData8 = 82)
- ^
- In file included from C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:15:0:
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.h:136:8: note: previous specification in 'void DFRobot_LedDisplayModule::setDisplayArea8(int, int, int, int, int, int, int, int)' here
- void setDisplayArea8(int areaData1 = 82,int areaData2 = 82,int areaData3 = 82,int areaData4 = 82,int areaData5 = 82,int areaData6 = 82,int areaData7 = 82,int areaData8 = 82);
- ^
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:122:199: error: default argument given for parameter 6 of 'void DFRobot_LedDisplayModule::setDisplayArea8(int, int, int, int, int, int, int, int)' [-fpermissive]
- void DFRobot_LedDisplayModule::setDisplayArea8(int areaData1 = 82,int areaData2 = 82,int areaData3 = 82,int areaData4 = 82,int areaData5 = 82,int areaData6 = 82,int areaData7 = 82,int areaData8 = 82)
- ^
- In file included from C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:15:0:
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.h:136:8: note: previous specification in 'void DFRobot_LedDisplayModule::setDisplayArea8(int, int, int, int, int, int, int, int)' here
- void setDisplayArea8(int areaData1 = 82,int areaData2 = 82,int areaData3 = 82,int areaData4 = 82,int areaData5 = 82,int areaData6 = 82,int areaData7 = 82,int areaData8 = 82);
- ^
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:122:199: error: default argument given for parameter 7 of 'void DFRobot_LedDisplayModule::setDisplayArea8(int, int, int, int, int, int, int, int)' [-fpermissive]
- void DFRobot_LedDisplayModule::setDisplayArea8(int areaData1 = 82,int areaData2 = 82,int areaData3 = 82,int areaData4 = 82,int areaData5 = 82,int areaData6 = 82,int areaData7 = 82,int areaData8 = 82)
- ^
- In file included from C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:15:0:
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.h:136:8: note: previous specification in 'void DFRobot_LedDisplayModule::setDisplayArea8(int, int, int, int, int, int, int, int)' here
- void setDisplayArea8(int areaData1 = 82,int areaData2 = 82,int areaData3 = 82,int areaData4 = 82,int areaData5 = 82,int areaData6 = 82,int areaData7 = 82,int areaData8 = 82);
- ^
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:122:199: error: default argument given for parameter 8 of 'void DFRobot_LedDisplayModule::setDisplayArea8(int, int, int, int, int, int, int, int)' [-fpermissive]
- void DFRobot_LedDisplayModule::setDisplayArea8(int areaData1 = 82,int areaData2 = 82,int areaData3 = 82,int areaData4 = 82,int areaData5 = 82,int areaData6 = 82,int areaData7 = 82,int areaData8 = 82)
- ^
- In file included from C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:15:0:
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.h:136:8: note: previous specification in 'void DFRobot_LedDisplayModule::setDisplayArea8(int, int, int, int, int, int, int, int)' here
- void setDisplayArea8(int areaData1 = 82,int areaData2 = 82,int areaData3 = 82,int areaData4 = 82,int areaData5 = 82,int areaData6 = 82,int areaData7 = 82,int areaData8 = 82);
- ^
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:249:138: error: default argument given for parameter 1 of 'void DFRobot_LedDisplayModule::print4(const char*, const char*, const char*, const char*)' [-fpermissive]
- void DFRobot_LedDisplayModule::print4(const char buf1[] = "82",const char buf2[] = "82",const char buf3[] = "82",const char buf4[] = "82")
- ^
- In file included from C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:15:0:
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.h:150:8: note: previous specification in 'void DFRobot_LedDisplayModule::print4(const char*, const char*, const char*, const char*)' here
- void print4(const char buf1[] = "82",const char buf2[] = "82",const char buf3[] = "82",const char buf4[] = "82");
- ^
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:249:138: error: default argument given for parameter 2 of 'void DFRobot_LedDisplayModule::print4(const char*, const char*, const char*, const char*)' [-fpermissive]
- void DFRobot_LedDisplayModule::print4(const char buf1[] = "82",const char buf2[] = "82",const char buf3[] = "82",const char buf4[] = "82")
- ^
- In file included from C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:15:0:
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.h:150:8: note: previous specification in 'void DFRobot_LedDisplayModule::print4(const char*, const char*, const char*, const char*)' here
- void print4(const char buf1[] = "82",const char buf2[] = "82",const char buf3[] = "82",const char buf4[] = "82");
- ^
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:249:138: error: default argument given for parameter 3 of 'void DFRobot_LedDisplayModule::print4(const char*, const char*, const char*, const char*)' [-fpermissive]
- void DFRobot_LedDisplayModule::print4(const char buf1[] = "82",const char buf2[] = "82",const char buf3[] = "82",const char buf4[] = "82")
- ^
- In file included from C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:15:0:
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.h:150:8: note: previous specification in 'void DFRobot_LedDisplayModule::print4(const char*, const char*, const char*, const char*)' here
- void print4(const char buf1[] = "82",const char buf2[] = "82",const char buf3[] = "82",const char buf4[] = "82");
- ^
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:249:138: error: default argument given for parameter 4 of 'void DFRobot_LedDisplayModule::print4(const char*, const char*, const char*, const char*)' [-fpermissive]
- void DFRobot_LedDisplayModule::print4(const char buf1[] = "82",const char buf2[] = "82",const char buf3[] = "82",const char buf4[] = "82")
- ^
- In file included from C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:15:0:
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.h:150:8: note: previous specification in 'void DFRobot_LedDisplayModule::print4(const char*, const char*, const char*, const char*)' here
- void print4(const char buf1[] = "82",const char buf2[] = "82",const char buf3[] = "82",const char buf4[] = "82");
- ^
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp: In member function 'void DFRobot_LedDisplayModule::print4(const char*, const char*, const char*, const char*)':
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:251:18: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
- if (buf1[0] != "82"){
- ^
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:258:18: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
- if (buf2[0] != "82"){
- ^
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:265:18: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
- if (buf3[0] != "82"){
- ^
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:272:18: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
- if (buf4[0] != "82"){
- ^
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp: At global scope:
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:490:238: error: default argument given for parameter 1 of 'void DFRobot_LedDisplayModule::print8(const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*)' [-fpermissive]
- void DFRobot_LedDisplayModule::print8(const char buf1[] = "82",const char buf2[] = "82",const char buf3[] = "82",const char buf4[] = "82",const char buf5[] = "82",const char buf6[] = "82",const char buf7[] = "82",const char buf8[] = "82")
- ^
- In file included from C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:15:0:
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.h:164:10: note: previous specification in 'void DFRobot_LedDisplayModule::print8(const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*)' here
- void print8(const char buf1[] = "82",const char buf2[] = "82",const char buf3[] = "82",const char buf4[] = "82",const char buf5[] = "82",const char buf6[] = "82",const char buf7[] = "82",const char buf8[] = "82");
- ^
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:490:238: error: default argument given for parameter 2 of 'void DFRobot_LedDisplayModule::print8(const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*)' [-fpermissive]
- void DFRobot_LedDisplayModule::print8(const char buf1[] = "82",const char buf2[] = "82",const char buf3[] = "82",const char buf4[] = "82",const char buf5[] = "82",const char buf6[] = "82",const char buf7[] = "82",const char buf8[] = "82")
- ^
- In file included from C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:15:0:
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.h:164:10: note: previous specification in 'void DFRobot_LedDisplayModule::print8(const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*)' here
- void print8(const char buf1[] = "82",const char buf2[] = "82",const char buf3[] = "82",const char buf4[] = "82",const char buf5[] = "82",const char buf6[] = "82",const char buf7[] = "82",const char buf8[] = "82");
- ^
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:490:238: error: default argument given for parameter 3 of 'void DFRobot_LedDisplayModule::print8(const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*)' [-fpermissive]
- void DFRobot_LedDisplayModule::print8(const char buf1[] = "82",const char buf2[] = "82",const char buf3[] = "82",const char buf4[] = "82",const char buf5[] = "82",const char buf6[] = "82",const char buf7[] = "82",const char buf8[] = "82")
- ^
- In file included from C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:15:0:
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.h:164:10: note: previous specification in 'void DFRobot_LedDisplayModule::print8(const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*)' here
- void print8(const char buf1[] = "82",const char buf2[] = "82",const char buf3[] = "82",const char buf4[] = "82",const char buf5[] = "82",const char buf6[] = "82",const char buf7[] = "82",const char buf8[] = "82");
- ^
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:490:238: error: default argument given for parameter 4 of 'void DFRobot_LedDisplayModule::print8(const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*)' [-fpermissive]
- void DFRobot_LedDisplayModule::print8(const char buf1[] = "82",const char buf2[] = "82",const char buf3[] = "82",const char buf4[] = "82",const char buf5[] = "82",const char buf6[] = "82",const char buf7[] = "82",const char buf8[] = "82")
- ^
- In file included from C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:15:0:
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.h:164:10: note: previous specification in 'void DFRobot_LedDisplayModule::print8(const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*)' here
- void print8(const char buf1[] = "82",const char buf2[] = "82",const char buf3[] = "82",const char buf4[] = "82",const char buf5[] = "82",const char buf6[] = "82",const char buf7[] = "82",const char buf8[] = "82");
- ^
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:490:238: error: default argument given for parameter 5 of 'void DFRobot_LedDisplayModule::print8(const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*)' [-fpermissive]
- void DFRobot_LedDisplayModule::print8(const char buf1[] = "82",const char buf2[] = "82",const char buf3[] = "82",const char buf4[] = "82",const char buf5[] = "82",const char buf6[] = "82",const char buf7[] = "82",const char buf8[] = "82")
- ^
- In file included from C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:15:0:
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.h:164:10: note: previous specification in 'void DFRobot_LedDisplayModule::print8(const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*)' here
- void print8(const char buf1[] = "82",const char buf2[] = "82",const char buf3[] = "82",const char buf4[] = "82",const char buf5[] = "82",const char buf6[] = "82",const char buf7[] = "82",const char buf8[] = "82");
- ^
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:490:238: error: default argument given for parameter 6 of 'void DFRobot_LedDisplayModule::print8(const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*)' [-fpermissive]
- void DFRobot_LedDisplayModule::print8(const char buf1[] = "82",const char buf2[] = "82",const char buf3[] = "82",const char buf4[] = "82",const char buf5[] = "82",const char buf6[] = "82",const char buf7[] = "82",const char buf8[] = "82")
- ^
- In file included from C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:15:0:
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.h:164:10: note: previous specification in 'void DFRobot_LedDisplayModule::print8(const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*)' here
- void print8(const char buf1[] = "82",const char buf2[] = "82",const char buf3[] = "82",const char buf4[] = "82",const char buf5[] = "82",const char buf6[] = "82",const char buf7[] = "82",const char buf8[] = "82");
- ^
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:490:238: error: default argument given for parameter 7 of 'void DFRobot_LedDisplayModule::print8(const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*)' [-fpermissive]
- void DFRobot_LedDisplayModule::print8(const char buf1[] = "82",const char buf2[] = "82",const char buf3[] = "82",const char buf4[] = "82",const char buf5[] = "82",const char buf6[] = "82",const char buf7[] = "82",const char buf8[] = "82")
- ^
- In file included from C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:15:0:
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.h:164:10: note: previous specification in 'void DFRobot_LedDisplayModule::print8(const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*)' here
- void print8(const char buf1[] = "82",const char buf2[] = "82",const char buf3[] = "82",const char buf4[] = "82",const char buf5[] = "82",const char buf6[] = "82",const char buf7[] = "82",const char buf8[] = "82");
- ^
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:490:238: error: default argument given for parameter 8 of 'void DFRobot_LedDisplayModule::print8(const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*)' [-fpermissive]
- void DFRobot_LedDisplayModule::print8(const char buf1[] = "82",const char buf2[] = "82",const char buf3[] = "82",const char buf4[] = "82",const char buf5[] = "82",const char buf6[] = "82",const char buf7[] = "82",const char buf8[] = "82")
- ^
- In file included from C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:15:0:
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.h:164:10: note: previous specification in 'void DFRobot_LedDisplayModule::print8(const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*)' here
- void print8(const char buf1[] = "82",const char buf2[] = "82",const char buf3[] = "82",const char buf4[] = "82",const char buf5[] = "82",const char buf6[] = "82",const char buf7[] = "82",const char buf8[] = "82");
- ^
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp: In member function 'void DFRobot_LedDisplayModule::print8(const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*)':
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:492:18: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
- if (buf1[0] != "82"){
- ^
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:499:18: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
- if (buf2[0] != "82"){
- ^
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:506:18: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
- if (buf3[0] != "82"){
- ^
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:513:18: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
- if (buf4[0] != "82"){
- ^
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:521:18: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
- if (buf5[0] != "82"){
- ^
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:528:18: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
- if (buf6[0] != "82"){
- ^
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:535:18: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
- if (buf7[0] != "82"){
- ^
- C:\Users\mjarek\Documents\Arduino\libraries\DFRobot_LedDisplayModule\DFRobot_LedDisplayModule.cpp:542:18: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
- if (buf8[0] != "82"){
- ^