Go to Post And please, never scorn a team that makes something outrageous, like a 4 speed 6 motor transmission. - Veselin Kolev [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Spotlight this post!  
Unread 23-01-2004, 14:10
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: Beacon Code on Full Size RC?

Quote:
Originally Posted by doy
i just tested it with
Code:
#define _FRC_BOARD
Generate_Pwms(pwm13,pwm14,pwm15,pwm16);
in Process_Data_From_Master_uP() and it gives the same error... should i have to #define that? if i dont, Generate_Pwms() requires 8 argument, and i dont know what the difference is.
I don't think that's right. Ex:
Code:
const int SomeVal = 321;
#define SomeAlias SomeVal

void SomeSub(void)
{
 if (SomeVal == SomeAlias)
  Code_Allways_Executes();
 if (SomeVal <> SomeAlias)
  Code_Never_Executes;
}
Which is compiled as:
Code:
const int SomeVal = 321;

void SomeSub(void)
{
 if (SomeVal == SomeVal)
  Code_Allways_Executes();
 if (SomeVal <> SomeVal)
  Code_Never_Executes;
}
Get it?

Of course, I don't know all the ins and outs of C, so check the FRC default code.
 


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
What is your most prefered programming language? Hailfire Programming 156 19-01-2005 21:42
InfraRed autonomous code ... mtrawls Programming 1 11-01-2004 00:25
Autonomous code PBoss Programming 7 14-01-2003 15:29
Does your team use the Default code. Jeff McCune General Forum 2 09-01-2003 14:46
Patent source code? Kyle Fenton Chit-Chat 3 20-10-2001 17:53


All times are GMT -5. The time now is 19:51.

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