Open afch opened 4 years ago
I used the following blocking RTTTL and tone library to free up Timer3 for use with red segment of the RGB PWM LEDS.
All non-standard libraries are noted in comments beside their respective library in NixieShield.h file included in this repo. I have included them again below:
#include <Rtttl.h> // https://github.com/spicajames/Rtttl
// https://bitbucket.org/teckel12/arduino-timer-free-tone/downloads/
#include <Timezone.h> // https://github.com/JChristensen/Timezone
#include <FadeLed.h> // https://github.com/septillion-git/FadeLed
Let me know if this helps! I may update the README to make the dependancies more obvious.
My mistake actually, I did modify the return value for updateMelody()
The library with with modification is now included in this repo and the README has been updated.
at NixieClock_NCS314_Firmware.ino string# 285: if (!Rtttl.updateMelody()){ break; }
"updateMelody" declared is "void" in Rtttl.h string# 28: void updateMelody();
Am I using the wrong library? Сan You help?