-
18F25K20 & ANSEL = Error
Hi,
I began to write a programm for a PIC18F25K20...
but PBP Pro doesn't like me any more....
<code> ANSEL=%00000001 ;alle Ports digital</code>
makes a syntax-error.
I've looked around in the def-files. There are ANSEL0 and ANSEL1 as well as ANSEL, but the compiler produces an error until I comment it out.
I don't know exactly where to look.
-
Hmmm, the PIC18EXT.BAS file seems to be missing those.
Add these to that file, or your program ...
Code:
ANSEL VAR BYTE EXT
ANSELH VAR BYTE EXT
-
-
Bitte schön!,
or, Gesundheit. I'm not sure which. :)
<br>