View Single Post
  #4   Spotlight this post!  
Unread 17-12-2002, 09:21
Lloyd Burns Lloyd Burns is offline
Registered User
FRC #1246 (Agincourt Robotics)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Toronto
Posts: 292
Lloyd Burns is an unknown quantity at this point
correction

I just noticed in the manual, that PWM1 gives CCW rotation of the moter, while PWM5 gives CW rotation, so I edited my previous post back to the original 1988 suggestion.

BTW, seanwitte, to reverse a joystick direction in PBASIC, use

p1_y = 254 - p1_y

because
if p1_y is 254, it becomes 000,
if p1_y is 127, it remains 127,
if p1_y is 000, it becomes 254.

The OI programming will not allow sending an analog value greater than 254 because 255 is used as a syncing signal (Serin starts with 255,255, waiting for two $FF = x00FF = 255d bits before starting to accept data for its following parameters.


LATEST NEWS
Even better - download the pdf re default program guide from www.innovationfirst.com and see what they have to say about switch input SW5 on ISAAC.
It gives you one-stick drive. checkit out !!!

Last edited by Lloyd Burns : 17-12-2002 at 09:52.