You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 23, 2021. It is now read-only.
it seems that i cant compile for Leonardo/Micro based on 32u4.
i get errors:
C:\...\libraries\sbus-master\sbus.cpp:104:5: error: 'TCNT2' was not declared in this scope
TCNT2 = 0;
^
C:\...\libraries\sbus-master\sbus.cpp:112:5: error: 'TIFR2' was not declared in this scope
TIFR2 |= 1 << OCF2A;
^
C:\...\libraries\sbus-master\sbus.cpp:112:19: error: 'OCF2A' was not declared in this scope
TIFR2 |= 1 << OCF2A;
^
After some research it seems that there is no timer 2 on the 32u4.
Is it possible to move this to another timer?
If so which pins would we need to be used?
it seems that i cant compile for Leonardo/Micro based on 32u4.
i get errors:
After some research it seems that there is no timer 2 on the 32u4.
Is it possible to move this to another timer?
If so which pins would we need to be used?