PIC24 Support Libraries
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
PIC24 support library

The PIC24 support library is divided into external components, internal components, and tools used in creating the library. External components should be called by the typical user to set up the PIC, communicate over the UART, I2C bus, etc. Internal components include both implementation details and information on adding support for PIC24 processors not currently supported by this library.

A simple example which echos characters via the UART:

#include "pic24_all.h"
int main(void) {
// Set up clock, heartbeat, UART, print welcome message
configBasic(HELLO_MSG);
while (1) {
// Echo characters
}
return 0;
}

Library components

External library components

Internal library components

Tools used to create the code

SCons provides automated library building and testing. See SConstruct.py for documentation of this process. Capabilities include:

To maintain a consistent style, a batch file which runs the Artistic Style code formatter is available as runAStyle.bat.

The code resides in a Mercurial publicly-readable, web-accessible repository. Please send any updates or fixes to the authors for incorporation into the library!