Advertisement
tourniquet

LED On

Dec 14th, 2013
290
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. .device ATtiny2313A
  2. .nolist
  3. .include β€œtn2313adef.inc”
  4. .list
  5.  
  6. ; =====
  7.  
  8. .def temp = r16
  9.  
  10. ; =====
  11.  
  12. rjmp Init
  13.  
  14. ; =====
  15.  
  16. Init:
  17. ser temp
  18. out DDRB, temp
  19. out DDRD, temp
  20.  
  21. clr temp
  22. out PortB, temp
  23. out PortD, temp
  24.  
  25. ; =====
  26. Start:
  27. sbi PortB, 0
  28. rjmp Start
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement