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