picster
- 11th February 2018, 00:14
4 Errors in ASM when using NAP command with 16F18857, all referencing WDTCON undefined.
Looking at the PIC's INCLUDE file, it shows WDTCON0 and WDTCON1, but in the pbp_pic16F1XXXX_tris_offset.lib, it refers to WDTCON instead, which is undefined for this Microcontroller.
Please have a look and advise...
I changed the four references in the .lib file to WDTCON0 and it compiled fine after that, but wanted to make sure this should work correctly.
Picster
Looking at the PIC's INCLUDE file, it shows WDTCON0 and WDTCON1, but in the pbp_pic16F1XXXX_tris_offset.lib, it refers to WDTCON instead, which is undefined for this Microcontroller.
Please have a look and advise...
I changed the four references in the .lib file to WDTCON0 and it compiled fine after that, but wanted to make sure this should work correctly.
Picster