Scrolling marquee sketch question

Hello World
Im Mike
Im new to this Programming stuff. But
When trying to compile this sketch,I recieve the following errors.


What do I type in the line.
I am using this sketch GitHub - Qrome/marquee-scroller: Marquee Scroller Clock News Weather and More with all the libraries, and I have been able to load "blynk" to my esp8622 and have included all the librairies.
Thanks for the help

Is that the only error message ?
The width() function is from the Adafruit GFX library, have you installed that ?

Yes I have the GFX library installed. I Installed the recommended librarys from the github page for the marquee scroller.


The above libraries/files were downloaded and added to the library and also included in my sketch.

With the information that you provide, it should work.
The "width()" function for the matrix is here: https://github.com/adafruit/Adafruit-GFX-Library/blob/master/Adafruit_GFX.h#L196

Do you use Arduino IDE 2.1 ?
Have you updated all the boards and all the libraries ?
How did you install the libraries ?

Can you show the full compiler output ? Maybe you have installed a library twice and the wrong one is used.

[UPDATE]

  • The json file for the preferences to add the ESP8266 boards is good. I have version 3.1.2, please confirm that you have the same version.
  • Never install random things on your computer ! You should not have used that CH340G driver. The driver on the website of the manufacturer of the CH340G is here: http://www.wch-ic.com/downloads/CH341SER_EXE.html
  • Did you download those libraries ? Can you remove them ? They are in the Library Manager of the Arduino IDE.

it could be funny if you make your answer as picture too

1 Like

Thanks for the replys.
Yes my Board manager says 3.1.2 is installed and i have the CH341ser driver installed.
I was able to upload "Blynk to the ESP8266 board.


And Ihave downloaded the libraries.
Im wondering if the led matrix has to be wired to the esp8266 for it to see it when programming the board?
I am a "NEWBIE"

It would . :grinning:

You missed a few things. We can only help if you give us enough information and answer our questions. We also need to know specifically how you installed the libraries. When I ask if that is the only error message and which version of the Arduino IDE, then I would like to know that before going on to the next thing.

Can you copy-paste the whole compiler output and show it to us as text ?
How did you install the libraries ? With the Library Manager of the Arduino IDE ?

Yes i used the arduino Library manager to add the files to the library. I have the correct driver CH341 Installed and i am using arduino IDE 2.10 And yes thats the only error i get so far.
Thanks for the reply. Can you copy-paste the whole compiler output and show it to us as text ?
I will try

it wont let me because im a new user and it only lets me add 2 lines of text.

Here we go
C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\marquee.ino:37: warning: "SECS_PER_MIN" redefined
37 | #define SECS_PER_MIN (60UL)
|
In file included from C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\TimeDB.h:1,
from C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\Settings.h:52,
from C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\marquee.ino:28:
c:\Users\beauc\Documents\Arduino\libraries\libraries\Time/TimeLib.h:67: note: this is the location of the previous definition
67 | #define SECS_PER_MIN ((time_t)(60UL))
|
C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\marquee.ino:38: warning: "SECS_PER_HOUR" redefined
38 | #define SECS_PER_HOUR (3600UL)
|
In file included from C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\TimeDB.h:1,
from C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\Settings.h:52,
from C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\marquee.ino:28:
c:\Users\beauc\Documents\Arduino\libraries\libraries\Time/TimeLib.h:68: note: this is the location of the previous definition
68 | #define SECS_PER_HOUR ((time_t)(3600UL))
|
C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\marquee.ino:39: warning: "SECS_PER_DAY" redefined
39 | #define SECS_PER_DAY (SECS_PER_HOUR * 24L)
|
In file included from C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\TimeDB.h:1,
from C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\Settings.h:52,
from C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\marquee.ino:28:
c:\Users\beauc\Documents\Arduino\libraries\libraries\Time/TimeLib.h:69: note: this is the location of the previous definition
69 | #define SECS_PER_DAY ((time_t)(SECS_PER_HOUR * 24UL))
|
C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\marquee.ino:42: warning: "numberOfSeconds" redefined
42 | #define numberOfSeconds(time) (time % SECS_PER_MIN)
|
In file included from C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\TimeDB.h:1,
from C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\Settings.h:52,
from C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\marquee.ino:28:
c:\Users\beauc\Documents\Arduino\libraries\libraries\Time/TimeLib.h:76: note: this is the location of the previous definition
76 | #define numberOfSeconds(time) ((time) % SECS_PER_MIN)
|
C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\marquee.ino:43: warning: "numberOfMinutes" redefined
43 | #define numberOfMinutes(time) ((time / SECS_PER_MIN) % SECS_PER_MIN)
|
In file included from C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\TimeDB.h:1,
from C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\Settings.h:52,
from C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\marquee.ino:28:
c:\Users\beauc\Documents\Arduino\libraries\libraries\Time/TimeLib.h:77: note: this is the location of the previous definition
77 | #define numberOfMinutes(time) (((time) / SECS_PER_MIN) % SECS_PER_MIN)
|
C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\marquee.ino:44: warning: "numberOfHours" redefined
44 | #define numberOfHours(time) (( time% SECS_PER_DAY) / SECS_PER_HOUR)
|
In file included from C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\TimeDB.h:1,
from C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\Settings.h:52,
from C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\marquee.ino:28:
c:\Users\beauc\Documents\Arduino\libraries\libraries\Time/TimeLib.h:78: note: this is the location of the previous definition
78 | #define numberOfHours(time) (((time) % SECS_PER_DAY) / SECS_PER_HOUR)
|
C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\marquee.ino:45: warning: "elapsedDays" redefined
45 | #define elapsedDays(time) ( time / SECS_PER_DAY)
|
In file included from C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\TimeDB.h:1,
from C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\Settings.h:52,
from C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\marquee.ino:28:
c:\Users\beauc\Documents\Arduino\libraries\libraries\Time/TimeLib.h:80: note: this is the location of the previous definition
80 | #define elapsedDays(time) ((time) / SECS_PER_DAY) // this is number of days since Jan 1 1970
|
In file included from C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\Settings.h:1,
from C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\marquee.ino:28:
c:\Users\beauc\Documents\Arduino\libraries\libraries\arduino-Max72xxPanel-master/Max72xxPanel.h:31:42: error: expected class-name before '{' token
31 | class Max72xxPanel : public Adafruit_GFX {
| ^
In file included from C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\marquee.ino:28:
C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\Settings.h:72:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
72 | char* www_username = "admin"; // User account for the Web Interface
| ^~~~~~~
C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\Settings.h:73:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
73 | char* www_password = "password"; // Password for the Web Interface
| ^~~~~~~~~~
C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\marquee.ino: In function 'void setup()':
C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\marquee.ino:218:3: warning: 'SPIFFS' is deprecated: SPIFFS has been deprecated. Please consider moving to LittleFS or other filesystems. [-Wdeprecated-declarations]
218 | SPIFFS.begin();
| ^~~~~~
In file included from C:\Users\beauc\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\libraries\ESP8266WiFi\src/CertStoreBearSSL.h:26,
from C:\Users\beauc\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\libraries\ESP8266WiFi\src/WiFiClientSecureBearSSL.h:30,
from C:\Users\beauc\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\libraries\ESP8266WiFi\src/WiFiClientSecure.h:23,
from C:\Users\beauc\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\libraries\ESP8266WiFi\src/WiFiServerSecure.h:20,
from C:\Users\beauc\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:41,
from C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\Settings.h:40,
from C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\marquee.ino:28:
C:\Users\beauc\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\cores\esp8266/FS.h:286:15: note: declared here
286 | extern fs::FS SPIFFS attribute((deprecated("SPIFFS has been deprecated. Please consider moving to LittleFS or other filesystems.")));
| ^~~~~~
C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\marquee.ino: In function 'void handleSystemReset()':
C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\marquee.ino:611:7: warning: 'SPIFFS' is deprecated: SPIFFS has been deprecated. Please consider moving to LittleFS or other filesystems. [-Wdeprecated-declarations]
611 | if (SPIFFS.remove(CONFIG)) {
| ^~~~~~
In file included from C:\Users\beauc\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\libraries\ESP8266WiFi\src/CertStoreBearSSL.h:26,
from C:\Users\beauc\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\libraries\ESP8266WiFi\src/WiFiClientSecureBearSSL.h:30,
from C:\Users\beauc\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\libraries\ESP8266WiFi\src/WiFiClientSecure.h:23,
from C:\Users\beauc\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\libraries\ESP8266WiFi\src/WiFiServerSecure.h:20,
from C:\Users\beauc\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:41,
from C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\Settings.h:40,
from C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\marquee.ino:28:
C:\Users\beauc\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\cores\esp8266/FS.h:286:15: note: declared here
286 | extern fs::FS SPIFFS attribute((deprecated("SPIFFS has been deprecated. Please consider moving to LittleFS or other filesystems.")));
| ^~~~~~
C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\marquee.ino: In function 'void getWeatherData()':
C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\marquee.ino:932:43: error: 'class Max72xxPanel' has no member named 'width'
932 | Serial.println("matrix Width:" + matrix.width());
| ^~~~~
C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\marquee.ino: In function 'String writeCityIds()':
C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\marquee.ino:1314:12: warning: 'SPIFFS' is deprecated: SPIFFS has been deprecated. Please consider moving to LittleFS or other filesystems. [-Wdeprecated-declarations]
1314 | File f = SPIFFS.open(CONFIG, "w");
| ^~~~~~
In file included from C:\Users\beauc\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\libraries\ESP8266WiFi\src/CertStoreBearSSL.h:26,
from C:\Users\beauc\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\libraries\ESP8266WiFi\src/WiFiClientSecureBearSSL.h:30,
from C:\Users\beauc\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\libraries\ESP8266WiFi\src/WiFiClientSecure.h:23,
from C:\Users\beauc\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\libraries\ESP8266WiFi\src/WiFiServerSecure.h:20,
from C:\Users\beauc\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:41,
from C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\Settings.h:40,
from C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\marquee.ino:28:
C:\Users\beauc\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\cores\esp8266/FS.h:286:15: note: declared here
286 | extern fs::FS SPIFFS attribute((deprecated("SPIFFS has been deprecated. Please consider moving to LittleFS or other filesystems.")));
| ^~~~~~
C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\marquee.ino: In function 'void readCityIds()':
C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\marquee.ino:1368:7: warning: 'SPIFFS' is deprecated: SPIFFS has been deprecated. Please consider moving to LittleFS or other filesystems. [-Wdeprecated-declarations]
1368 | if (SPIFFS.exists(CONFIG) == false) {
| ^~~~~~
In file included from C:\Users\beauc\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\libraries\ESP8266WiFi\src/CertStoreBearSSL.h:26,
from C:\Users\beauc\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\libraries\ESP8266WiFi\src/WiFiClientSecureBearSSL.h:30,
from C:\Users\beauc\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\libraries\ESP8266WiFi\src/WiFiClientSecure.h:23,
from C:\Users\beauc\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\libraries\ESP8266WiFi\src/WiFiServerSecure.h:20,
from C:\Users\beauc\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:41,
from C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\Settings.h:40,
from C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\marquee.ino:28:
C:\Users\beauc\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\cores\esp8266/FS.h:286:15: note: declared here
286 | extern fs::FS SPIFFS attribute((deprecated("SPIFFS has been deprecated. Please consider moving to LittleFS or other filesystems.")));
| ^~~~~~
C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\marquee.ino:1373:13: warning: 'SPIFFS' is deprecated: SPIFFS has been deprecated. Please consider moving to LittleFS or other filesystems. [-Wdeprecated-declarations]
1373 | File fr = SPIFFS.open(CONFIG, "r");
| ^~~~~~
In file included from C:\Users\beauc\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\libraries\ESP8266WiFi\src/CertStoreBearSSL.h:26,
from C:\Users\beauc\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\libraries\ESP8266WiFi\src/WiFiClientSecureBearSSL.h:30,
from C:\Users\beauc\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\libraries\ESP8266WiFi\src/WiFiClientSecure.h:23,
from C:\Users\beauc\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\libraries\ESP8266WiFi\src/WiFiServerSecure.h:20,
from C:\Users\beauc\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\libraries\ESP8266WiFi\src/ESP8266WiFi.h:41,
from C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\Settings.h:40,
from C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\marquee.ino:28:
C:\Users\beauc\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\cores\esp8266/FS.h:286:15: note: declared here
286 | extern fs::FS SPIFFS attribute((deprecated("SPIFFS has been deprecated. Please consider moving to LittleFS or other filesystems.")));
| ^~~~~~
C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\marquee.ino: In function 'void scrollMessage(String)':
C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\marquee.ino:1572:55: error: 'class Max72xxPanel' has no member named 'width'
1572 | for ( int i = 0 ; i < width * msg.length() + matrix.width() - 1 - spacer; i++ ) {
| ^~~~~
C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\marquee.ino:1584:21: error: 'class Max72xxPanel' has no member named 'width'
1584 | int x = (matrix.width() - 1) - i % width;
| ^~~~~
C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\marquee.ino:1585:21: error: 'class Max72xxPanel' has no member named 'height'
1585 | int y = (matrix.height() - 8) / 2; // center the text vertically
| ^~~~~~
C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\marquee.ino:1589:16: error: 'class Max72xxPanel' has no member named 'drawChar'
1589 | matrix.drawChar(x, y, msg[letter], HIGH, LOW, 1);
| ^~~~~~~~
C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\marquee.ino:1599:10: error: 'class Max72xxPanel' has no member named 'setCursor'
1599 | matrix.setCursor(0, 0);
| ^~~~~~~~~
C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\marquee.ino: In function 'void drawPiholeGraph()':
C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\marquee.ino:1608:20: error: 'class Max72xxPanel' has no member named 'width'
1608 | int row = matrix.width() - 1;
| ^~~~~
C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\marquee.ino:1611:34: error: 'class Max72xxPanel' has no member named 'width'
1611 | int totalRows = count - matrix.width();
| ^~~~~
C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\marquee.ino:1630:12: error: 'class Max72xxPanel' has no member named 'drawFastVLine'
1630 | matrix.drawFastVLine(row, yval, 8-yval, HIGH);
| ^~~~~~~~~~~~~
C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\marquee.ino: In function 'void centerPrint(String, boolean)':
C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\marquee.ino:1653:19: error: 'class Max72xxPanel' has no member named 'width'
1653 | int x = (matrix.width() - (msg.length() * width)) / 2;
| ^~~~~
C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\marquee.ino:1658:31: error: 'class Max72xxPanel' has no member named 'width'
1658 | matrix.drawPixel(matrix.width() - 1, 6, HIGH);
| ^~~~~
C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\marquee.ino:1662:106: error: 'class Max72xxPanel' has no member named 'width'
1662 | int numberOfLightPixels = (printerClient.getProgressCompletion().toFloat() / float(100)) * (matrix.width() - 1);
| ^~~~~
C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\marquee.ino:1663:14: error: 'class Max72xxPanel' has no member named 'drawFastHLine'
1663 | matrix.drawFastHLine(0, 7, numberOfLightPixels, HIGH);
| ^~~~~~~~~~~~~
C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\marquee.ino:1668:10: error: 'class Max72xxPanel' has no member named 'setCursor'
1668 | matrix.setCursor(x, 0);
| ^~~~~~~~~
C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\marquee.ino:1669:10: error: 'class Max72xxPanel' has no member named 'print'
1669 | matrix.print(msg);
| ^~~~~

exit status 1

Compilation error: 'class Max72xxPanel' has no member named 'width'

Have you read all the warnings and errors ?

The first error is the most important, because the rest of the errors might be the result of the first error.

This is the first error:

In file included from C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\Settings.h:1,
from C:\Users\beauc\Documents\Arduino\marquee-scroller-master\marquee\marquee.ino:28:
c:\Users\beauc\Documents\Arduino\libraries\libraries\arduino-Max72xxPanel-master/Max72xxPanel.h:31:42: error: expected class-name before '{' token
31 | class Max72xxPanel : public Adafruit_GFX {

The "Adafruit_GFX" library is not accepted.
That line in the source code is here: https://github.com/markruys/arduino-Max72xxPanel/blob/master/Max72xxPanel.h#L31
It is included here: https://github.com/Qrome/marquee-scroller/blob/master/marquee/Settings.h#L47
I'm looking at those files, but I don't see it :cry: I hope someone else sees the problem.
Perhaps it is a bracket mismatch by something before that.

It could be in a library or in your sketch. Can you show your sketch between code tags ? The <code/> button above the text field is for the sketch. Have you edited the library files ? Can you find those lines on your computer to check them ?

Are there multiple files in the sketch folder? Redefinitions (inside otherwise-good files) seem to be the clue.

AS for the code tags I dont think I see anything. Mabey its just me. Please be patient with me im new.
This is the sketch im using for this.

I will keep trying .

All I did was download the recommended files and added them through the library manager.

What you say can mean so many things, please be specific.
Did you download the zip files from Github ? and used the Arduino IDE to install them ?
Can you remove those downloaded libraries ?
Removing those libraries is the best thing to do anyway. Something went wrong.

The Arduino IDE has a "Library Manager". It is in the left bar, the icon with books on a shelf.
I know that is not in the explanation that you followed, but the "Library Manager" is what should be used.
Let's not follow the explanation, but do what's right :smiley:

The file marquee.ino has redefinitions of things that are in TimeLib.h.
I call that a total mess, and perhaps that explains why the compiler does not accept the Adafruit_GFX if a macro went wrong ? I don't know.

Thanks for the reply yes i can delete all the files. So from what you are saying i should not download the Time.Lib file for this project. I downloaded all the files from the library manager.
I will try to download it with out the time file. and see if that works.
And yes all the files were downloaded from github for this particular sketch as i have posted previously in this post, In the image i added for this particular project. Mabey the files are/have been updated and they just wont work with this project anymore. hmm I dont know
But thanks for the help.I appreciate it.

That is not as easy as I thought it was.

For example the "TimeLib".
If you read this page: https://github.com/PaulStoffregen/Time
then it says: "Using the Arduino Library Manager, install "Time by Michael Margolis"

In the "Library Manager" I could find it by searching "timea":

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.