///////////PPM Generator mit Timer 3 damit bleibt Timer 1 frei!
// Interrupt Timer 3 vorbereiten und freigeben, Finger weg!
cli();
[COLOR="#FFA500"]TCCR3A = 0; // set entire TCCR1 register to 0[/COLOR]
TCCR3B = 0;
OCR3A = 100; // compare match register, change this
TCCR3B |= (1 << WGM12); // turn on CTC mode
TCCR3B |= (1 << CS11); // 8 prescaler: 0,5 microseconds at 16mhz
TIMSK3 |= (1 << OCIE3A); // enable timer compare interrupt
sei(); // Interrupts fregeben
// Interrupt vorbereiten und freigeben
}
Futaba_SBus_005_Timer3_16_Kanal_PPM_8_ServosOut_ok.ino: In function 'void setup()':
Futaba_SBus_005_Timer3_16_Kanal_PPM_8_ServosOut_ok:84: error: 'TCCR3A' was not declared in this scope
Futaba_SBus_005_Timer3_16_Kanal_PPM_8_ServosOut_ok:85: error: 'TCCR3B' was not declared in this scope
Futaba_SBus_005_Timer3_16_Kanal_PPM_8_ServosOut_ok:86: error: 'OCR3A' was not declared in this scope
Futaba_SBus_005_Timer3_16_Kanal_PPM_8_ServosOut_ok:89: error: 'TIMSK3' was not declared in this scope
Futaba_SBus_005_Timer3_16_Kanal_PPM_8_ServosOut_ok:89: error: 'OCIE3A' was not declared in this scope
Futaba_SBus_005_Timer3_16_Kanal_PPM_8_ServosOut_ok.ino: In function 'void TIMER3_COMPA_vect()':
Futaba_SBus_005_Timer3_16_Kanal_PPM_8_ServosOut_ok:154: error: 'TCNT3' was not declared in this scope
Futaba_SBus_005_Timer3_16_Kanal_PPM_8_ServosOut_ok:158: error: 'OCR3A' was not declared in this scope
Futaba_SBus_005_Timer3_16_Kanal_PPM_8_ServosOut_ok:171: error: 'OCR3A' was not declared in this scope
Futaba_SBus_005_Timer3_16_Kanal_PPM_8_ServosOut_ok:175: error: 'OCR3A' was not declared in this scope