Advertisement
Guest User

Untitled

a guest
Mar 29th, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. if (timer == 1)
  2. ICR1 = icr;
  3. else if (timer == 3)
  4. ICR3 = icr;
  5. else if (timer == 4)
  6. ICR4 = icr;
  7. else if (timer == 5)
  8. ICR5 = icr;
  9.  
  10. timers {
  11. { ICR1, TCCR1A, OCR1A, OCR1B },
  12. { ICR2, TCCR2A, OCR2A, OCR2B }
  13.  
  14. timers[1][0]
  15.  
  16. *timers[1][0] = 100;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement