mega2560 update

Nearly the end... transmitter is built and works, the first fly is for
next we !
This commit is contained in:
JivaroFAD
2015-01-06 22:45:58 +01:00
parent 286aa677d0
commit b95b66e69e
8 changed files with 35 additions and 22 deletions
+2 -2
View File
@@ -60,7 +60,7 @@ void audioQueue::heartbeat()
speakerOff();
}
else {
#if defined(PCBGRUVIN9X)
#if defined(CPUM2560)
if (toneFreq) {
OCR0A = (5000 / toneFreq); // sticking with old values approx 20(abs. min) to 90, 60 being the default tone(?).
speakerOn();
@@ -86,7 +86,7 @@ void audioQueue::heartbeat()
}
else {
if (tone2TimeLeft > 0) {
#if defined(PCBGRUVIN9X)
#if defined(CPUM2560)
if (tone2Freq) {
OCR0A = (5000 / tone2Freq); // sticking with old values approx 20(abs. min) to 90, 60 being the default tone(?).
speakerOn();