I am creating this project in C language using MPLAB X IDE XC8 compiler. However, you may use any other IDE that works with PIC microcontrollers. In this project, eight LEDs are connected to PORTC of a PIC18F45K22 microcontroller. … Read More
Category: PIC Programming
Common Instructions Types in PIC Microcontrollers
Every microcontroller family has its own set of instructions that are typically carried out in a similar set of operations though using different syntax. This is exhibited in the variation in the internal architecture of various types of microcontrollers. … Read More
PIC Microcontroller Input-Output Ports Programming in C
PIC microcontroller input-output ports are named PORTA, PORTB, PORTC, etc. depending on the type of microcontroller you are using. Port pins can be in analog or digital mode. In analog mode, ports are input only and the in-built analog-to-digital converter … Read More
How to Create a PIC Project using MPLAB X IDE
In this article, we look at the steps of developing a simple XC8-based project; we will go through the steps in creating a source file using the MPLAB X IDE, then compiling the file. Additionally, we will show you how … Read More
MPLAB X IDE and MPLAB XC8 Compiler
MPLAB X IDE
The MPLAB X IDE is the integrated development environment that enables the user to create a source file, edit, compile, simulate, debug, and send the generated code to the target microcontroller with the help of a compatible … Read More