Advertisement
Guest User

Untitled

a guest
Jun 15th, 2019
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. MOV TMOD, #01010000b    ;ustawienie timer1 w trybie licznika 16-bitowego
  2. SETB TR1                ;uruchomienie licznika
  3. CLR P3.1                ;uruchomienie motora
  4.  
  5. JB TF1, overflow        ;sprawdzenie czy nastąpiło przepełnienie
  6. overflow:
  7. CLR TF1                 ;jeżeli się przepełni, to wyzeruj flage
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement