PIC code for embedded master PIC