Skip to content

Commit

Permalink
Rename Untitled.asm to Proyecto final- ADC, TIMER1.asm
Browse files Browse the repository at this point in the history
  • Loading branch information
ZTNL001 committed Dec 8, 2018
1 parent 5dea3c6 commit 2f06d9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Untitled.asm → Proyecto final- ADC, TIMER1.asm
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ INICIALIZACION ;Inicializacion
BSF INTCON, GIE ; Activa todas las interrupciones

PRINCIPAL
BTFSS PORTB,RB7 ;ESPERA LA SEÑAL PARA REALIZAR LA MEDICION Y ALIMENTAR A LA MASCOTA
BTFSS PORTB,RB7 ;ESPERA LA SEÑAL PARA REALIZAR LA MEDICION Y ALIMENTAR A LA MASCOTA
GOTO PRINCIPAL ;SI NO ESTA PULSADO SE MANTIENE EN CONSTANTEMENTE MEDICION
BSF ADCON0,GO ; SI ESTA PULSADO EL BOTON COMIENZA LA CONVERSION ADC
GOTO PRINCIPAL
Expand Down Expand Up @@ -145,4 +145,4 @@ CONFIG_TMR1
BSF INTCON, GIE ; Activa todas las interrupciones
RETURN ; ESTE VA A CHECAR EL BOTON POR QUE DEJAMOS ANTES DE LA INTERRUPCION A LA ALU PREGUNTANDO POR RB7

END
END

0 comments on commit 2f06d9d

Please sign in to comment.