MPLAB X is the worst written software I have ever used. I seem to be constantly resetting it to get things to work. Some of the bugs I've come across are,
I needed to look at an array in excel and so I exported it. After a couple of times exporting it I noticed that the data wasn't changing. MPLAB wasn't writing the file as the file was in use. This is simply the programmer(?) not checking for error conditions.
In my current project MPLAB has decided that SSP1IF is not in PIR1bits.
Maybe someone can try this,
Start a new project using an 18F2620 and put the following in a main file,
on my machine this won't compile even though if you type PIR1bits. and wait it shows SSP1IF as a member.
The annoying thing is this project was compiling fine until I changed one thing in my I2C file and now it won't compile. I have no idea what I changed to cause this. So I would appreciate someone trying this and reporting back.
Thanks,
Mike.
I needed to look at an array in excel and so I exported it. After a couple of times exporting it I noticed that the data wasn't changing. MPLAB wasn't writing the file as the file was in use. This is simply the programmer(?) not checking for error conditions.
In my current project MPLAB has decided that SSP1IF is not in PIR1bits.
Maybe someone can try this,
Start a new project using an 18F2620 and put the following in a main file,
Code:
#include <pic18.h>
int main(int argc, char** argv) {
while(PIR1bits.SSP1IF);
}
The annoying thing is this project was compiling fine until I changed one thing in my I2C file and now it won't compile. I have no idea what I changed to cause this. So I would appreciate someone trying this and reporting back.
Thanks,
Mike.