12f675 compilation error

Status
Not open for further replies.

neelam29

New Member
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
 
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.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…