![]() |
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 |
Re: Has anyone run into this problem?
Did you include the header? IE:
Code:
#include <headerFile.h> |
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 |
| All times are GMT -5. The time now is 20:16. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi