Hi,
Issue solved. Many thanks to Henrik. The old assembler (PM) was not case sensitive, MPASM is.
Changed define adc_bits 10, and all of the other config parts to capital letters, and all is fine.
Sorry about the dual post, but I was getting no replies in the PBP 3 section. If a mod could delete one of them that would tidy things up.
Kind regards
Bob.
Bookmarks