Welcome to Embedded Code Source
A "one-stop shop" where you can browse and download software/firmware code examples, tools and utilities for your PIC® MCU projects. The primary purpose of this site is to help you get your application to market faster! Here, you'll find code for controlling simple timers & UARTs, low power modes, Fast Fourier Transforms, LCD displays, motor-control algorithms, and many more.
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
-
Software UART by Datadog Systems Add RS-232 capability to any PIC processor. The example code uses the smallest PIC10F to show how it is done.
-
CE019 - PID for Closed-Loop Systems by Microchip Technology 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. by micros-designs 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.
-
Operating an External LCD by Microchip Technology In this code example, XLCD library support for PIC18F4685 is used to interface the device with LCD module available on PICDEM2+ board.
-
CE018 - Using the Fast Fourier Transform (FFT) for Frequency Detection by Microchip Technology In this code example, we demonstrate how the DSP library functions can be used to perform an FFT on an input signal (vector).