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. Processors such as those fabricated by Intel have a more extensive instruction set, with more options…
-
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 and multiplexer circuits are used. In digital mode, a port pin can be configured as…
-
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 the program is loaded to the target microcontroller. The program will turn the LED on…
-
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 programmer/debugger device. You can download the MPLAB X IDE from Microchip Inc. website. For detailed…