I'm converting an old PIC12C671 program to run on a a 10F202 but for some reason it's not working.
I'm using microcode 2.3 and pbp2.46 it has the 10f202 library in it.
The errors I get are: ERROR unable to fit variable dim
it also says this about every other variable I'm using
Any thoughts would be greatly appreciated
Program starts like:
@ device pic10F202, mclr_off, protect_off, wdt_off
TRISIO = %1100
triac VAR GPIO.2
trigger VAR GPIO.3
dim VAR WORD
Time VAR WORD
Time2 VAR BYTE
startup VAR BYTE
b0 VAR BYTE
Clear
GPIO = 0
dim = 100
Start:
Bookmarks