Top "Mplab" questions

IDE for the Microchip PIC series of microcontrollers.

Use external header files in MPLAB X IDE

I have a folder with some .h and .c files and I want to use header files in my projects. …

include mplab c18
Cannot modify char array

Consider the following code. char message[]="foo"; void main(void){ message[] = "bar"; } Why is there a syntax error in MPLAB …

c arrays memory-management compiler-errors mplab
MPLAB IDE data type sizes

In MPLAB IDE what is the sizes of data types (int, unsigned int, float, unsigned float, char...)?

c size mplab size-type
Reading state of input pins on a PIC18

I have been able to get outputs working on my PIC and can make a bunch of LEDs dance on …

microcontroller pic pic18 mplab
Free alternative to MPLAB (PIC development)

I started using MPLAB recently, but for someone that works with Eclipse and VS the IDE it's very limited. Do …

ide embedded microcontroller pic mplab
Setting up a C project with multiple source files in MPLAB

I'm using the MPLAB IDE and the XC8 compiler for a C project for PIC18 devices. I'm building a project …

c pic microchip mplab pic18
How do I view Assembly my C code in MPLAB x

I have code written in C but I need to see the Assembly file so I can optimize the code …

c assembly mplab
How to calculate negative number in MIPS assembly?

I am trying to compile following assembly source code, First here is code : #include <xc.h> .global main .…

assembly mips mplab mips32 pic32
Delay on PIC18F

I'm using a PIC18F14K50 with HiTech ANSI C Compiler and MPLAB v8.43. My PIC code is finally up …

c delay microcontroller pic18 mplab
Return statement in an infinite loop

Where does this return statement return to if it is inside this infinite while(1) loop? More importantly, I had no …

c return infinite-loop mplab