Tag: C
-
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…