William At MyBlueRoom
New Member
Here's the code from the Inchworm quick start guide coming really soon.
Although this ones written for the Fireflys 16F88, the quick start will show code and schematics for the 12F509, 16F84A and 16F628A
It's designed simply to be your first "hello world" style program. The Firefly User Guide will describe how the very simple program works.
It flashes LED1 Green using the WDT.
Although this ones written for the Fireflys 16F88, the quick start will show code and schematics for the 12F509, 16F84A and 16F628A
It's designed simply to be your first "hello world" style program. The Firefly User Guide will describe how the very simple program works.
It flashes LED1 Green using the WDT.
Code:
;*** WDT reset toggles RA.0
list p=16F88
include <p16F88.inc>
__CONFIG _CONFIG1, 0x2F74
org 0
bsf STATUS, RP0
movlw b'00001110'
movwf OPTION_REG
movlw 7
movwf CMCON
clrf ANSEL
movlw b'10111110'
movwf TRISA
bcf STATUS, RP0
bcf PORTA, 6
movlw 1
xorwf PORTA, f
sleep
end
Last edited: