How to Create a PIC Tracing LEDs Project in C

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

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