View Single Post
  #4   Spotlight this post!  
Unread 07-01-2003, 11:13
Jferrante Jferrante is offline
Registered User
#0506
 
Join Date: Aug 2002
Location: New York
Posts: 67
Jferrante is an unknown quantity at this point
Send a message via AIM to Jferrante Send a message via Yahoo to Jferrante
Quote:
Originally posted by rbayer
I assume you are referring to the fact that the Serout now only has 14 arguments instead of the old 18? In that case, it will (and always has!) be just fine. If you don't output a variable, the Output uP will just set them to 127.

--Rob
I hadn't even noticed that (I only edited serout for tank drive, other than that I leave those alone).

I was referring to the following lines not present in this years default program:
p1_x = 127 'Port 1, X-axis on Joystick
p2_x = 127 'Port 2, X-axis on Joystick
p3_x = 127 'Port 3, X-axis on Joystick
p4_x = 127 'Port 4, X-axis on Joystick

p1_y = 127 'Port 1, Y-axis on Joystick
p2_y = 127 'Port 2, Y-axis on Joystick
p3_y = 127 'Port 3, Y-axis on Joystick
p4_y = 127 'Port 4, Y-axis on Joystick

p1_wheel = 127 'Port 1, Wheel on Joystick
p2_wheel = 127 'Port 2, Wheel on Joystick
p3_wheel = 127 'Port 3, Wheel on Joystick
p4_wheel = 127 'Port 4, Wheel on Joystick
'p1_aux = 127 'Port 1, Aux Analog
'p2_aux = 127 'Port 2, Aux Analog
'p3_aux = 127 'Port 3, Aux Analog
'p4_aux = 127 'Port 4, Aux Analog


It used to be directly below this:

'---------- Initialize Inputs & Outputs --------------------------------------
Out7 = 1 'Basic Run LED on RC
Out8 = 0 'PWM1 LED - Green
Out9 = 0 'PWM1 LED - Red
Out10 = 0 'PWM2 LED - Green
Out11 = 0 'PWM2 LED - Red
Out12 = 0 'Relay1 LED - Red
Out13 = 0 'Relay1 LED - Green
Out14 = 0 'Relay2 LED - Red
Out15 = 0 'Relay2 LED - Green

now its not there. I was wondering if I needed to add it or if the robot would run fine without it