Category: Electronics

Programming PIC 18 using XC8 (MPLAB X) : IO ports

When you start the project, the main.c (or newmain.c, depends on what you named your main c file). You should be able to compile the code without any error or warning. #include <stdio.h> #include <stdlib.h> /* * */ int main(int…

Continue Reading Programming PIC 18 using XC8 (MPLAB X) : IO ports