Académique Documents
Professionnel Documents
Culture Documents
16 F 628
16 F 628
movwf AUX1
;=================================================
; LOOP PRINCIPAL (BUCLE)
;=================================================
LOOP:
btfsc PORTA,MAXI ;Verifica estado de pulsador 1
call tec1 ;Presionada, giro horario
btfsc PORTA,MINI ;Verifica estado de pulsador 2
call tec2 ;Presionada, giro anti-horario
goto LOOP
;=================================================
; SUBRUTINAS DE OPERACION DE LOS 2 PULSADORES
;=================================================
tec1:
====
====
====
====