MPLAB X
MPLAB X IDE is a software program that runs on a PC (Windows®, Mac OS®, Linux®) to develop applications for Microchip microcontrollers and digital signal controllers. It is called an Integrated Development Environment (IDE), because it provides a single integrated "environment" to develop code for embedded microcontrollers. MPLAB X Integrated Development Environment brings many changes to the PIC® microcontroller development tool chain. Unlike previous versions of the MPLAB IDE which were developed completely in-house, MPLAB X IDE is based on the open source NetBeans IDE from Oracle. Taking this path has allowed us to add many frequently requested features very quickly and easily, while also providing us with a much more extensible architecture to bring you even more new features in the future.
Microchip’s line of award-winning MPLAB® XC C Compilers provides a comprehensive solution for your project’s software development and is offered in free, unrestricted-use downloads. Finding the right compiler to support your device is simple:
- MPLAB XC8 supports all 8-bit PIC MCUs
- MPLAB XC16 supports all 16-bit PIC MCUs and dsPICs
- MPLAB XC32/32++ supports all 32-bit PIC MCUs
The MPLAB Code Configurator is a free graphical programming environment that generates seamless, easy to understand C code that is inserted into your project. Using an intuitive interface it enables and configures a rich set of peripherals and functions. It is integrated into MPLAB X IDE to provide a powerful and easy to use development platform.
Example: How to create blinking led program
Create New Project
Select Microchip Embedded
Select Srandalone Project
Select Next
Select Mid-range 8-bit MCUs
Select PIC16F876
Select Next
Select Simulator
Select Next
Select XC8
Type the name Progetto di prova
Select Finish
Select File - New File
Select C
Select C Main File
Select Next
Type the filename main
Select Finish
Now Mplab X shows this program:
/*
* File: main.c
* Author: mario
*
* Created on September 30, 2016, 5:18 PM
*/
#include <stdio.h>
#include <stdlib.h>
/*
*
*/
int main(int argc, char** argv) {
return (EXIT_SUCCESS);
}