Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TIMERB3 to megaavr #58

Open
KHeintz opened this issue May 24, 2020 · 0 comments
Open

Add TIMERB3 to megaavr #58

KHeintz opened this issue May 24, 2020 · 0 comments
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement

Comments

@KHeintz
Copy link

KHeintz commented May 24, 2020

With the additional timer TIMERB3 the servo library also works for MegaCorex and ATMega4809.
Advantage over the MegaCorex Servo library with this library is the setting of the frame rate works.
To ServoTimers.h add

#if defined(SERVO_USE_TIMERB3)
  &TCB3;
#endif

Servo.cpp add

#elif defined(SERVO_USE_TIMERB3)
ISR(TCB3_INT_vect)
@per1234 per1234 added topic: code Related to content of the project itself type: enhancement Proposed improvement labels Jan 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

No branches or pull requests

2 participants