Code for the PIC184620 microcontroller