Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
PM_USED EQU 1
INCLUDE "16F628A.INC"
RAM_START EQU 00020h
RAM_END EQU 0014Fh
RAM_BANKS EQU 00003h
BANK0_START EQU 00020h
BANK0_END EQU 0007Fh
BANK1_START EQU 000A0h
BANK1_END EQU 000EFh
BANK2_START EQU 00120h
BANK2_END EQU 0014Fh
EEPROM_START EQU 02100h
EEPROM_END EQU 0217Fh
R0 EQU RAM_START + 000h
R1 EQU RAM_START + 002h
R2 EQU RAM_START + 004h
R3 EQU RAM_START + 006h
R4 EQU RAM_START + 008h
R5 EQU RAM_START + 00Ah
R6 EQU RAM_START + 00Ch
R7 EQU RAM_START + 00Eh
R8 EQU RAM_START + 010h
FLAGS EQU RAM_START + 012h
GOP EQU RAM_START + 013h
RM1 EQU RAM_START + 014h
RM2 EQU RAM_START + 015h
RR1 EQU RAM_START + 016h
RR2 EQU RAM_START + 017h
_PORTL EQU PORTB
_PORTH EQU PORTA
_TRISL EQU TRISB
_TRISH EQU TRISA
#define _l1 _PORTB_4
#define _l2 _PORTB_5
#define _PORTB_4 PORTB, 004h
#define _PORTB_5 PORTB, 005h
INCLUDE "TEST.MAC"
INCLUDE "PBPPIC14.LIB"
LABEL?L _go
HIGH?T _l1
PAUSE?C 0012Ch
LOW?T _l1
PAUSE?C 0012Ch
HIGH?T _l2
PAUSE?C 0012Ch
LOW?T _l2
PAUSE?C 0012Ch
HIGH?T _l1
PAUSE?C 0012Ch
LOW?T _l1
PAUSE?C 0012Ch
HIGH?T _l2
PAUSE?C 0012Ch
LOW?T _l2
PAUSE?C 0012Ch
HIGH?T _l1
PAUSE?C 0012Ch
LOW?T _l1
PAUSE?C 0012Ch
HIGH?T _l2
PAUSE?C 0012Ch
LOW?T _l2
PAUSE?C 0012Ch
HIGH?T _l1
HIGH?T _l2
PAUSE?C 0C8h
LOW?T _l1
LOW?T _l2
PAUSE?C 0C8h
HIGH?T _l1
HIGH?T _l2
PAUSE?C 0C8h
LOW?T _l1
LOW?T _l2
PAUSE?C 0C8h
HIGH?T _l1
HIGH?T _l2
PAUSE?C 0C8h
LOW?T _l1
LOW?T _l2
PAUSE?C 0C8h
HIGH?T _l1
HIGH?T _l2
PAUSE?C 0C8h
LOW?T _l1
LOW?T _l2
PAUSE?C 0C8h
HIGH?T _l1
HIGH?T _l2
PAUSE?C 0C8h
LOW?T _l1
LOW?T _l2
PAUSE?C 0C8h
GOTO?L _go
END
Is it possible for a pic to be fried from over voltage and not run its code but still be able to be programmed and read on a programmer?