Hi there i am using this guys code to compile see here GitHub - jersagfast/GPS-Smalls: GPS with MTK3339 GPS module and SSD1306 OLED Display...
but when i compile i see this error
Adafruit SSD1306\Adafruit_SSD1306.cpp.o: In function
Adafruit_SSD1306::begin(unsigned char, unsigned char, bool)': C:\Users\Thomas\Documents\Arduino\libra... undefined reference to SPIClass::begin()'
C:\Users\Thomas\Documents\Arduino\libra... undefined reference to `SPIClass::setClockDivider(unsigned char)'
collect2.exe: error: ld returned 1 exit status
any help would be great, please explain like im stupid becuase im very new to arduino and programming as a whole
(the sketch is too long to post here please see link)
Hi and welcome.
You (tried to) linked to some GitHub page that has been abandoned for 3 years.
The sketch was made for the IDE that was available then.
But since, the IDE did get some further development.
So now you are trying to use a V0.Xx sketch with V 1.Xx of the IDE.
And that is likely to get you into trouble.
The error message you show, mentions an Adafruit SSD1306 library.
Are you sure you installed that (correct) ?
But i'd try to find a pre V1.Xx version of the IDE, install that, and check what that does with this sketch.
If you are starting a thread, or composing an answer, you'll see the text Attachments and other options
Click it, and a menu will drop down from that location.
Now you can add an attachment.
You can do that instead of copying the text into your post.