View Single Post
  #6   Spotlight this post!  
Unread 11-03-2008, 21:18
whytheheckme's Avatar
whytheheckme whytheheckme is offline
Registered User
AKA: Jacob Komar
no team
 
Join Date: Feb 2006
Rookie Year: 2005
Location: Providence, RI
Posts: 1,320
whytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond repute
Send a message via ICQ to whytheheckme Send a message via AIM to whytheheckme Send a message via MSN to whytheheckme Send a message via Yahoo to whytheheckme
Re: A few basic EasyC Pro questions

Quote:
Originally Posted by rocketperson44 View Post
-Do functions such as 2 motor arcade work with FRC?
Yes, there is 2 motor arcade, 4 motor arcade, and same with tank drive. Simply set your joystick ports and axis, and your PWM outputs (and maybe inverts if your drive isn't set up like in the picture.)
Quote:
Originally Posted by rocketperson44 View Post
-How do I add more than 2 reciever ports (four joysticks) (or is it all one port with a bunch of channels?)
When you go to use a function block that uses joysticks, you set the joystick port, and then the axis/button (depending on analog or digital)
Quote:
Originally Posted by rocketperson44 View Post
-Same with PWMs, relays.
All PWM and relays are accessible.
Quote:
Originally Posted by rocketperson44 View Post
-Do I need anything special in the initialize program?
I like to set my driver motors to 127, initialize my camera, etc. Nothing is required here.
Quote:
Originally Posted by rocketperson44 View Post
-Will the online window work with FRC?
Yep, the terminal window is the same.
Quote:
Originally Posted by rocketperson44 View Post
-I assume that the Vex USB converter will also work with FRC, am I correct?
Yep, USB to serial is USB to serial.
Quote:
Originally Posted by rocketperson44 View Post
One more question: How would I control a relay using a joystick? I want it so that, when the joystick is pushed 50% in either direction, the relay turns on accordingly, but I cannot find a direct way to operate a relay with a joystick.
You can directly operate a relay using BUTTONS on the joystick, using the OI to Relay command under the "RC Control" set. If you want it so that it works on the joystick axis, Eric's code is great.

[/quote]