Go to Post Doesn't make sense, Karthik. ...... You don't scare me, other than the way 1114 normally does. - EricH [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 29-06-2005, 13:34
ImmortalAres ImmortalAres is offline
Registered User
no team
 
Join Date: May 2005
Location: Clarkson University
Posts: 33
ImmortalAres is an unknown quantity at this point
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   Spotlight this post!  
Unread 30-06-2005, 06:24
Ryan M. Ryan M. is offline
Programming User
FRC #1317 (Digital Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Ohio
Posts: 1,508
Ryan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud of
Re: Has anyone run into this problem?

Did you include the header? IE:
Code:
#include <headerFile.h>
What are you doing directly referencing those bit structures? There's nothing technially wrong with it, but I'd generally discourage myself from doing it...
__________________

  #3   Spotlight this post!  
Unread 30-06-2005, 19:09
RbtGal1351's Avatar
RbtGal1351 RbtGal1351 is offline
~La Reina de los Robots~
AKA: Stephanie
FRC #1351 (TKO)
Team Role: Programmer
 
Join Date: Dec 2004
Rookie Year: 2004
Location: San Jose, CA
Posts: 166
RbtGal1351 is a splendid one to beholdRbtGal1351 is a splendid one to beholdRbtGal1351 is a splendid one to beholdRbtGal1351 is a splendid one to beholdRbtGal1351 is a splendid one to beholdRbtGal1351 is a splendid one to beholdRbtGal1351 is a splendid one to behold
Send a message via AIM to RbtGal1351 Send a message via MSN to RbtGal1351
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
__________________
2004 Founding member and Arm leader, 2005 Lead programmer, 2006 Controls leader, 2007 Project Manager/President
Thanks for making FIRST such a great experience for me. I'm no longer on 1351, and I'm not currently planning to mentor team 97, but FIRST has meant so much in getting me to where I am now, in life and at MIT, class of 2011.
I met Billfred! He recognized me!
SVR 04: 11th seed - Highest Rookie Seed - Semifinalists w/ 1120 and 568 - GM Industrial Design Award
SVR 05: Semifinalists w/ 8 and 766
SVR 06: 6th seed - Quarterfinalists w/ 368 and 1072
Davis 06: 1st seed - Quarterfinalists w/ 649 and 100 - KPCB Entrepreneurship Award
SVR 07: 36th seed
David 07: 4th seed - Semifinalists w/ 1280 and 692 - Johnson and Johnson Sportsmanship Award
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT -5. The time now is 10:55.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi