Hello I have a project due soon and i seem to have trouble with the "tone" library For some reason it doesn't work. I just get a bunch of compile errors !!
Can you please help me
No not until you post the code, the error message and tell us what Arduino you are using.
Please read the how to use this forum sticky post to find out how you post code correctly.
I don't have the error message for the tone library anymore. I was going to add it if you could find a fix so that we could use the speaker that I have so the alarm would be louder. I am having this problem right now though....
Archiving built core (caching) in: C:\Users\Nate\AppData\Local\Temp\arduino_cache_159056\core\core_arduino_avr_uno_a94ab6aaf61dfb93b4a8079c694a14c2.a
C:\Users\Nate\AppData\Local\Temp\cc3XEO3r.ltrans0.ltrans.o: In function __static_initialization_and_destruction_0': C:\Users\Nate\Documents\Arduino\ProjectStart\ProjectStart.ino\ProjectStart.ino.ino/ProjectStart.ino.ino.ino:63: undefined reference to
String::~String()'
C:\Users\Nate\Documents\Arduino\ProjectStart\ProjectStart.ino\ProjectStart.ino.ino/ProjectStart.ino.ino.ino:63: undefined reference to String::String(char const*)' C:\Users\Nate\AppData\Local\Temp\cc3XEO3r.ltrans0.ltrans.o:(.rodata+0x6): undefined reference to
Print::write(unsigned char const*, unsigned int)'
c:/program files/windowsapps/arduinollc.arduinoide_1.8.10.0_x86__mdqgnx93n4wtt/hardware/tools/avr/bin/../lib/gcc/avr/4.9.2/../../../../avr/lib/avr5/crtatmega328p.o:(.init9+0x0): undefined reference to `main'
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board Arduino/Genuino Uno.
No not until you post the code, the error message and tell us what Arduino you are using.
Well one out of three is a start, but not much of one is it?
Please read the how to use this forum sticky post to find out how you post code correctly.
Make it one out of four then.