Go to Post yesterday we completed our bot mechanically and let me tell you.... i was jumping up and down like a 12 year old girl going to a boy-band concert - Leav [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 30-01-2008, 16:43
Omni Omni is offline
Registered User
FRC #0121
 
Join Date: Jan 2008
Location: Rhode Island
Posts: 1
Omni is an unknown quantity at this point
Trouble building code

ADC_CH0 not defined (error msg on build)

in ifi_frc.h add the line #include <adc.h> after #include <p18cxxx.h>

Has anyone else had this problem with missing code?
  #2   Spotlight this post!  
Unread 30-01-2008, 17:47
fallen751 fallen751 is offline
Registered User
FRC #2052
 
Join Date: Jan 2007
Location: Minnesota
Posts: 17
fallen751 is an unknown quantity at this point
Re: Trouble building code

well it seems that in either the ADC.h header file ADC_CH0 (which I believe is analog to digital convertor channel 1) isn't defined...which is strange. if you comment out the offending refrences to ADC_CH0 do you recieve a second error about ADC_CH1? can you post your direct error message up here?
  #3   Spotlight this post!  
Unread 30-01-2008, 18:33
JonathanLKS JonathanLKS is offline
Code::Blocks
FRC #0610 (The Coyotes)
Team Role: Leadership
 
Join Date: Feb 2006
Rookie Year: 2005
Location: Toronto
Posts: 36
JonathanLKS will become famous soon enough
Send a message via MSN to JonathanLKS
Re: Trouble building code

Do you happen to be using rc_ana_in01 some where in the code you wrote? We got a very similar problem when one of our programers wrote
Code:
Get_ADC_Result(rc_ana_in01);
__________________

Team 610 [ Co-Leader | Head Programmer | Webmaster ]
We're attending: Greater Toronto Regional, San Diego Regional, Championship
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
Trouble using Kevin Watson's Serial Code with Vex user API StargateFan Programming 3 13-01-2007 15:42
Autonomous Code trouble The yellowdart Programming 16 21-01-2006 10:36
trouble with beacon tracking code [53] opticruzer Programming 9 27-01-2004 12:19
Some code in C that we may need if we are in trouble Andrew Rudolph Chit-Chat 16 07-10-2003 21:34
Some code in C that we may need if we are in trouble Andrew Rudolph Programming 0 04-10-2003 10:44


All times are GMT -5. The time now is 09:23.

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