Guest User

Untitled

a guest
Jul 16th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. uint32_t uptime = 0;
  2.  
  3. // interrupt each 1 ms
  4. ISR()
  5. {
  6. ++uptime;
  7. }
  8.  
  9. void some_func()
  10. {
  11. uint32_t now = uptime;
  12. }
Add Comment
Please, Sign In to add comment