Professional Documents
Culture Documents
2017-I
Gua de Prctica VI
Nota:
PROGRAMACION EN MPLAB
INTERRUPCIONES
A) Interrupcin Externa por el RB0
Cdigo de interrupcin por el RB0
list p=16F84A
#include P16F84A.inc
__CONFIG _CP_OFF & _WDT_OFF & _PWRTE_ON & _XT_OSC
Led equ 0 ;
Reset
org 0x00 ; Aqu comienza el micro.-
goto Inicio ; Salto a inicio de mi programa.-
;**** Vector de Interrupcion ****
org 0x04 ; Atiendo Interrupcion.-
goto Inicio_ISR