Introduction - If you have any usage issues, please Google them yourself
WRITTEN BY NIGEL GARDNER
COPYRIGHT BLUEBIRD ELECTRONICS- 01 380 725110
DATE 3/7/95
ITERATION 1.0
FILE SAVED AS PIEZO.ASM
FOR PIC16C5x
CLOCK any
portb equ 6
#define RC portb,0 rc time constant for testing first time
power up
org 00
****** initialize******
init clrf portb
movlw 0fh portb lower 4 bits as inputs
tris portb
btfss RC test for first pass
sleep yes first time
main program continues here on after
a wakeup from sleep as opposed
to the first time through.
***** reset vector ******
org 1ffh for 16c54/55
goto init start programme here !
end