Welcome to Embedded Code Source
We want to help you bring your product to market faster! Browse and download free code "Snips," tools, and utilities to get your next PIC® MCU project running quickly. Need more? Premium Code with advanced features can also be purchased from Microchip and our growing network of third-party developers.
Whether you want to add wireless, touch sensing, or an LCD screen to your application, you will find PIC MCU code for these and many other applications right here at the Embedded Code Source!
This site also provides interaction with the Microchip community, as well as Microchip's elite group of 3rd party developers.and, if you're pressed for time, you can hire one of those developers to get the job done for you.
Start now by browsing the categories to the left or using the above search box-and then start downloading!
Browse Embedded Code Source
Add RS-232 capability to any PIC processor. The example code uses the smallest PIC10F to show how it is done.
This code example demonstrates a Proportional Integral Derivative (PID) Controller using a dsPIC30F6014A. The PID controller can be found as part of the MPLAB C30 DSP library functions starting from version 2.0 of the toolsuite. Works for AC Induction,...
Library for LCD 2x16, 2x20, 4x16, 4x20. Configuration 4-bit bus mode, also can be configured to use one shift register and use only 3 pins in the control. Compiler supported: MPLAB C18, MPLAB C30, MPLAB C32, Hi-Tech.
In this code example, XLCD library support for PIC18F4685 is used to interface the device with LCD module available on PICDEM2+ board.
In this code example, we demonstrate how the DSP library functions can be used to perform an FFT on an input signal (vector).