|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Has anyone run into this problem?
Has anyone run into the following problem while using MP Lab?
i'm coding for the pic18f452 and i've got the header file from the c18 compiler for that pic included but for some reason when i reference PIR1bits (a register clearly defined in the 452 header file) it starts yelling about how it can't find a definition for it. I find this very baffling. Any advice? Thanks |
|
#2
|
||||
|
||||
|
Re: Has anyone run into this problem?
Did you include the header? IE:
Code:
#include <headerFile.h> ![]() |
|
#3
|
|||||
|
|||||
|
Re: Has anyone run into this problem?
did you add the headerFile to the project too?
MPLab -> Project -> Add files to project -> [Select "HeaderFile.h" and "HeaderFile.c"] ~Stephanie Team 1351 |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| problem with joystick buttons (top left one) | Richomundo | Programming | 5 | 15-02-2004 17:16 |
| chain ridding up and off sprocket problem... | davidhoare | Technical Discussion | 4 | 04-02-2004 10:13 |
| Victor problem | Andy Baker | Electrical | 15 | 24-06-2003 09:49 |
| Heres a big problem that I think Discreet does not know what they are talking about. | wes16zeus | 3D Animation and Competition | 9 | 09-01-2002 23:31 |
| Victor controller problem | llambele | Technical Discussion | 3 | 14-11-2001 23:00 |