Hi,
I want to create an alarm controlled by a remote controller. The tone() function conflicts with the IRremote library, so I used the EasyBuzzer library. Now, when I compile the code, this error appears:
In file included from /tmp/285839734/sketch_jan03a/sketch_jan03a.ino:2:0:
/home/ubuntu/opt/libraries/latest/easybuzzer_1_0_0/src/EasyBuzzer.h:14:22: fatal error: arduino.h: No such file or directory
compilation terminated.
exit status 1
It says "arduino.h doesn't exist". Why? What can I do? How can I change the IRremote timer so to use the tone() function?
This is the only piece of code where I have used the EasyBuzzer functions:
if ((((clock.getHour(h12, PM), DEC) == dh2d) && ((clock.getMinute(), DEC) == dm2d)) || gtg == 0 ) {
EasyBuzzer.singleBeep(1047,1)
digitalWrite(8, HIGH);
digitalWrite(9, HIGH);
digitalWrite(10, HIGH);
digitalWrite(11, HIGH);
delay(1000);
EasyBuzzer.stopBeep();
digitalWrite(8, LOW);
digitalWrite(9, LOW);
digitalWrite(10, LOW);
digitalWrite(11, LOW);
delay(1000);
}