Advertisement
Guest User

Untitled

a guest
Apr 24th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.13 KB | None | 0 0
  1. Timer16::Timer16(uint16_t timerFreq) : Timer16(){
  2.     outputCmp = F_CPU/timerFreq;
  3.     OCR1A = outputCmp;
  4.     TCNT1 = 0;
  5.    
  6.     sei();
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement