Thread: unions in C
View Single Post
  #4   Spotlight this post!  
Unread 10-11-2003, 15:39
Random Dude Random Dude is offline
Oregon State Head FTA
AKA: Chris
no team (Oregon Robotics Tournament & Outreach Program)
 
Join Date: Aug 2002
Rookie Year: 1998
Location: Oregon
Posts: 142
Random Dude will become famous soon enoughRandom Dude will become famous soon enough
Here is how you actually can do it: (Yes I've tried this)


In ifi_default.h change the rc_pwm** variables to signed chars

then, right before PutData(),

pwm01 += 127;
pwm02 += 127;
...



A similar thing should work for the inputs (don't have a rc unit hany to try)