I found a project for a data logger on the web, which looked very useful. It is built around a 16F876 pic and, not being a programmer myself, i am baffled by the problem of compiling the C program that came with the project. The hardware side is no problem and is completed.
After browsing Allaboutcircuits, I concluded that MPLB IDE was the best compiler to try, but my attempts to compile the program failed The error was on the first header file < 16f876 h > which could not be found.
I consulted my daughter, who teaches programming, and she suggested that it might be possible to configure MPLAB to point to the correct folder/s, but I'm afraid that is beyond me.
I would be extremely grateful if anyone could solve my problem, either by providing a set of intructions on how to set up MPLAB , or by taking a look at the program (pdf attached) and pointing out or correcting any obvious errors.
I know it is a lot to ask, but I really would like to see this project working.
After browsing Allaboutcircuits, I concluded that MPLB IDE was the best compiler to try, but my attempts to compile the program failed The error was on the first header file < 16f876 h > which could not be found.
I consulted my daughter, who teaches programming, and she suggested that it might be possible to configure MPLAB to point to the correct folder/s, but I'm afraid that is beyond me.
I would be extremely grateful if anyone could solve my problem, either by providing a set of intructions on how to set up MPLAB , or by taking a look at the program (pdf attached) and pointing out or correcting any obvious errors.
I know it is a lot to ask, but I really would like to see this project working.
Attachments
-
71.7 KB Views: 33