N neelam29 New Member May 7, 2008 #1 hi all.m designing a project using pic12f675 .my complier is mplab and m using hitech c for coding. but it is not able to compile the program.does pic12f675 need some special declarations. i tried using #include<htc.h> Code: #include<p12f675.h> #include <delay.h> main{ .......} please help
hi all.m designing a project using pic12f675 .my complier is mplab and m using hitech c for coding. but it is not able to compile the program.does pic12f675 need some special declarations. i tried using #include<htc.h> Code: #include<p12f675.h> #include <delay.h> main{ .......} please help
futz Active Member May 7, 2008 #2 For Hitech PICC don't include the actual chip header file. Instead, use Code: #include <pic.h> #include <htc.h> I don't know if that will fix your problem, but it's the standard way of doing things in PICC.
For Hitech PICC don't include the actual chip header file. Instead, use Code: #include <pic.h> #include <htc.h> I don't know if that will fix your problem, but it's the standard way of doing things in PICC.