C language programming of PIC microcontroller