Thread: Force Feedback
View Single Post
  #23   Spotlight this post!  
Unread 22-11-2005, 17:27
Rickertsen2 Rickertsen2 is offline
Umm Errr...
None #1139 (Chamblee Gear Grinders)
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2002
Location: ATL
Posts: 1,421
Rickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant future
Send a message via AIM to Rickertsen2 Send a message via Yahoo to Rickertsen2
Re: Force Feedback

Quote:
Originally Posted by Cuog
How do you control the pins via programming?


Yes, I've been intriuged now I must build it,
Cuog
you use the variables :
Pwm1_green
Pwm1_red
Pwm2_green
Pwm2_red
Relay1_red
Relay1_green
Relay2_red
Relay2_green

Which pins these correspond to are listed in the IO reference guide. They are defined in ifi_aliases.h. To use them for something you must override their default behavior which is set up in user_routines.c. Unfortunately these variables are also control the lights on the OI itself, so if you use them for something else, you will no longer have the use of those lights for debug purposes.
__________________
1139 Alumni