Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void changeDuty16bit(uint16_t duty, uint8_t channel)
- {
- switch (channel)
- {
- case 1:
- OutputCompareRegister1=duty;
- break;
- case 2:
- OutputCompareRegister2=duty;
- break;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement