• Blog
  • Parts Sources
  • Form Test
VccGnd

plib

2/19/2014

0 Comments

 
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.
0 Comments



Leave a Reply.

    VccGnd

    Hardware with a software twist.

    Archives

    February 2014
    January 2014
    September 2012
    August 2012
    July 2012

    Categories

    All
    7LED
    Android
    Ascii
    Crystal Free USB
    Crystal-Free USB
    Dev Boards
    MSP430
    Overviews
    PCB
    PIC8
    Sourcing

    RSS Feed

Powered by Create your own unique website with customizable templates.