View Single Post
  #9   Spotlight this post!  
Unread 22-02-2007, 02:24
Stvn's Avatar
Stvn Stvn is offline
FIRST Competition Competer
AKA: Steven Rhodes
FRC #0100 (WHS/CHS - WildHats)
Team Role: Leadership
 
Join Date: Feb 2007
Rookie Year: 2004
Location: Woodside, CA
Posts: 90
Stvn is an unknown quantity at this point
Send a message via AIM to Stvn
Re: Inverting x-axis

You can always just have something built into the code that you can quickly change. For example, you can have something like:
Code:
#ifdef USB
    pwm1 = p1_Y;
#endif
#ifdef JOYSTICK
    pwm1 = 255 - p1_Y;
#endif
and define as needed.
Reply With Quote