![]() |
![]() |
![]() |
|
|
|||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
Experienced 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{
.......}
|
|
|
|
|
|
(permalink) |
|
Experienced Member
|
For Hitech PICC don't include the actual chip header file. Instead, use
Code:
#include <pic.h> #include <htc.h>
__________________
========================= Futz's Microcontrollers & Robotics ========================= |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Latest |
| please help meeeeeeeeeeeeeeeee | dark_eng | Micro Controllers | 0 | 10th March 2008 01:44 PM |
| Pspice LED Error | kogula14 | Electronic Projects Design/Ideas/Reviews | 3 | 14th March 2007 04:02 AM |
| Need some help with a code provided by ATMEL | ikalogic | Micro Controllers | 1 | 23rd January 2007 02:45 PM |
| Z8 Encore Error index out of range | mootaccount | Micro Controllers | 2 | 17th October 2006 02:23 PM |
| Ask for the principle of error amplifier in PWM | swear_swear | Electronic Projects Design/Ideas/Reviews | 2 | 29th July 2003 01:07 AM |