Fixing Error in RTC program.

Status
Not open for further replies.

sanjoy

Member
I wrote a program for RTC using 16f876A, 1307, ds1820 ICs. The program was compiled by mikroC PRO for PIC and the compiler returns the following error messages. i could not fix those. I'm not aware so please help me.
Thanks.

Error messages as follows:--
0 1 mikroCPIC1618.exe -MSF -DBG -pP16F876A -DL -O11111114 -fo8 -N"E:\CKT\program\MyProject_Clock.mcppi" -
0 1139 Available RAM: 352 [bytes], Available ROM: 8192 [bytes]
0 304 E:/CKT/program/MyProject_Clock.c:1: error: Can't open include file "16f876a.h"
0 304 #include <16F876A.h>
0 304 E:/CKT/program/MyProject_Clock.c:2: error: Can't open include file "i2c.h"
0 304 #include <I2C.h>
0 304 E:/CKT/program/MyProject_Clock.c:3: error: Can't open include file "one_wire.h"
0 304 #include <one_wire.h>
0 304 E:/CKT/program/MyProject_Clock.c:4: error: Can't open include file "button.h"
0 304 #include <Button.h>
0 304 4 errors in preprocessor.
0 102 Finished (with errors): 28 Nov 2014, 19:32:31 MyProject_Clock.mcppi
--------------
 
You don't need to include all these headers.... They are selected from the view menu / library manager... You just select the libraries you need...
 

Attachments

  • Capture.jpg
    102 KB · Views: 336
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…