Permalink
Browse files

Update RCArduinoFastLib.cpp

  • Loading branch information...
ElectricRCAircraftGuy committed Feb 22, 2015
1 parent 97fa462 commit 7b5167846c9dc04887faf63caa809bd3e9dc3b75
Showing with 1 addition and 1 deletion.
  1. +1 −1 RCArduinoFastLib/RCArduinoFastLib.cpp
@@ -330,7 +330,7 @@ void CRCArduinoFastServos::begin()
// Initilialise Timer1
TCCR1A = 0; // normal counting mode
TCCR1B = 2; // set prescaler of 8 = 1 tick = 0.5us
TCCR1B = 2; // set prescaler of 8 = 1 tick = 0.5us (see ATmega328 datasheet pgs. 134-135)
// ENABLE TIMER1 OCR1A INTERRUPT to enabled the first bank (A) of ten servos
TIFR1 |= _BV(OCF1A); // clear any pending interrupts;

0 comments on commit 7b51678

Please sign in to comment.