(yes, I've got my 28X2's so I've now got the questions!)
Manual 1 shows legs 2 to 5 being the comparator inputs. The PIC18F2520 datasheet shows them also and (page 233) indicates that the CMCON register is used to control their operation and determine the comparator output values.
I can't find anything in any (PICAXE) manuals that indicates how to access/use CMCON - is it just left to the programmer to use the appropriate PEEKSFR/POKESFR commands to the right location?
The PIC datasheet shows CMCON at 0xFB4 - how does that map onto the PEEKSFR/POKESFR location parameter which is 0 to 255?
TIA
Martin
Manual 1 shows legs 2 to 5 being the comparator inputs. The PIC18F2520 datasheet shows them also and (page 233) indicates that the CMCON register is used to control their operation and determine the comparator output values.
I can't find anything in any (PICAXE) manuals that indicates how to access/use CMCON - is it just left to the programmer to use the appropriate PEEKSFR/POKESFR commands to the right location?
The PIC datasheet shows CMCON at 0xFB4 - how does that map onto the PEEKSFR/POKESFR location parameter which is 0 to 255?
TIA
Martin