Microchip has a library called plib, for Peripheral Library, that abstracts some of the very chip-specific magic bit settings that one needs to deal with when programming microcontrollers. You still need to deal with magic numbers, e.g. when opening the serial port you still need to pass in a number that is the result of a formula involving oscillator frequency and desired baud rate.
plib is not available for the PIC16F series but is available for the PIC18F series. It is also available for PIC32s, but it's not clear if Microchip made an attempt made at API compatibility.
I'll play a bit with the PIC18F25K50 using plib so I can prototype code slightly faster. Once I have working code, I can then make it work on the PIC16F1459 without plib.
plib is not available for the PIC16F series but is available for the PIC18F series. It is also available for PIC32s, but it's not clear if Microchip made an attempt made at API compatibility.
I'll play a bit with the PIC18F25K50 using plib so I can prototype code slightly faster. Once I have working code, I can then make it work on the PIC16F1459 without plib.
RSS Feed