I am consistently amazed at the ingenuity people have shown over the years
in developing small pieces of code to simplify the PICmicro application code development
process. In these pages, I have summarized all the different pieces of code and macros that
I have come up with and I have found useful on the Internet. Before starting any application
on your own, I suggest you look through these pages to see if there is any code here that
will make your life easier (I can almost guarantee there is):
PICmicro® MCU "Watch" Files
When I created and tested the code for this book, I made a number
of generic MPLAB IDE "watch" files. If you are new to the PICmicro MCU and/or the
MPLAB/IDE, you might want to select these files from the "C:\PICmicro\code\procewat"
directory on your PC to help you get started with your own applications instead of
learning how to create watch files along with learning how to program the PICmicro MCU,
how to wire it into a circuit, etcetera...
Note that when you are creating your own watch files, that Bank 1 and
Bank 3 register names may be in lower case while Bank 0 and Bank 2 register names are in
upper case. As well, I have seen some changes to watch files between versions of the
MPLAB Integrated Development Editor - the watch files may require some modifications if
any version of the MPLAB IDE other than 5.11, that is included on this CD-ROM. I do not
recommend using an editor like "NotePad" to make any required changes - instead use the
MPLAB IDE editing functions.
In the list below, I have included "clickable" links to the different
watch files included on the CD-ROM, but I recommend that you "Load" from the MPLAB IDE
them when you have started a new project. In the list below, I have specified which
PICmicro MCUs the watch files can also be used with:
- 12c50x.wat - PIC12C508/PIC12C509 basic register
"Watch"
- 16c505.wat - PIC16C505 basic register "Watch"
- 16c54.wat - PIC16C54 basic register "Watch"
- 16c56.wat - PIC16C56 basic register "Watch"
- 16c711.wat - PIC16C71/PIC16C71x basic register
"Watch"
- 16c73b.wat - PIC16C73/PIC16C74 all Silicon
revisions basic register "Watch"
- 16f84.wat - PIC16F84 basic register "Watch"
- 16f877.wat - PIC16C76/PIC16C77 all Silicon
revisions basic register "Watch"
- 17cxx.wat - PIC17C4X all Silicon
revisions basic register "Watch"
- 18cxxx.wat - All PIC18CXX2 Part Number Silicon
revisions basic register "Watch"
- eeprom.wat - PIC6F84 EEPROM Access Registers