Go to Post Omni wheels are cool... but mecanum wheels are COOL!! - dtengineering [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 02-02-2008, 15:34
aeasson aeasson is offline
Registered User
FRC #2435
 
Join Date: Jan 2008
Location: Lawton, ok
Posts: 29
aeasson is an unknown quantity at this point
SetDirection Function Call

Our team is using EasyC.
On page 33, the WPLIB manual states that for all controllers it is necessary to set the direction for any ports used for digital I/O – identifying each as either used for input or output.
However, I cannot find the SetDirection in the EasyC environment.
If it is not a built in function, then what are the possible values for direction in the function call.
Thank you
  #2   Spotlight this post!  
Unread 02-02-2008, 17:06
TubaMorg TubaMorg is offline
Programmermechanicalelect ricalcoach
AKA: Dan
FRC #1480 (Robatos Locos)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Houston
Posts: 450
TubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond repute
Re: SetDirection Function Call

Actually, EasyC has a GUI utility that makes setting the Digital I/O ports as easy as clicking the mouse. A picture of the RC comes up and you click on the I/O pins an the arrow toggles indication whether it is in or out. Check EasyC help on how to do it. Of course you can always make any WPILIB call with a user function call....
  #3   Spotlight this post!  
Unread 04-02-2008, 09:58
Kingofl337's Avatar
Kingofl337 Kingofl337 is offline
You didn't see anything....
AKA: Adam
FRC #0501 (Power Knights)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 1998
Location: Manchester, NH
Posts: 861
Kingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond repute
Send a message via Yahoo to Kingofl337
Re: SetDirection Function Call

Press "F5" on your keyboard.
__________________
FIRST Team 501 PowerKnights - Mentor
FIRST Team 40 Checkmate - Mentor Alum
FIRST Team 146 Blue Lightning - Alumni
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
Looping a function Tz0m Programming 14 20-02-2007 11:22
printf, call of function without prototype problems cprogrammer Programming 3 11-05-2006 18:21
"call of function without prototype" railerobotics Programming 7 21-01-2006 19:59
FreeLibrary() Function Raven_Writer Programming 0 09-08-2003 15:39
Programmers of FIRST, function call! archiver 2001 0 24-06-2002 03:58


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

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