Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

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.

Latest threads

Back
Top