tea5767 Fm Module with OSEPP LCD keypad shield

Hi all,

Noob here on programming so here it is, I keep getting an error msg when trying to compile this code. It is quite long so I will attatch the .ino for you to look at. I have taken it from this tutorial:

As far as I can tell I have everything installed correctly but I keep getting this error any help you can give is appreciated:

Arduino: 1.6.5 (Windows 8.1), TD: 1.25, Board: "Arduino/Genuino Uno"

Build options changed, rebuilding all

C:\Users\Dad\AppData\Local\Temp\build2658201317515442899.tmp/core.a(main.cpp.o): In function main': C:\Users\Dad\Documents\Arduino\hardware\arduino\avr\cores\arduino/main.cpp:40: undefined reference to setup'
C:\Users\Dad\Documents\Arduino\hardware\arduino\avr\cores\arduino/main.cpp:43: undefined reference to `loop'
collect2.exe: error: ld returned 1 exit status
Error compiling.

Thanks for your time

Jerry Leonard

SimpleFixedFrequency.ino (3.81 KB)

When I download the library, and copy and paste your code into 1.0.5, and click verify, I only get one "error":

Binary sketch size: 13,390 bytes (of a 30,720 byte maximum)

Well here is the great news. I got it to work.

It wasn't the code it was the Arduino IDE, it started giving me errors on stuff that I knew worked.
I uninstalled it and re installed presto it worked. But thanks for taking the time to look into it!

1 Like