View Single Post
  #8   Spotlight this post!  
Unread 01-30-2002, 06:57 PM
Unsung FIRST Hero
Matt Leese Matt Leese is offline
Been-In-FIRST-Too-Long
FRC #1438 (The Aztechs)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1998
Location: Long Beach, CA
Posts: 937
Matt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond repute
Send a message via AIM to Matt Leese
Re: would the following make it so you didnt have to edit the serout?

Quote:
Originally posted by Joseph F
(assume victor is connected to the port for p4_wheel)

if fswitch = 1 goto move
p4_wheel = 127
goto nomove
move:
p4_wheel = 256
nomove:

also would this work better/worse if there was/wasn't a joystick plugged into port 4?
Don't use 256! 256 is equivalent to 0 (the byte will wrap around to zero).

Matt