View Single Post
  #17   Spotlight this post!  
Unread 12-10-2007, 21:59
bear24rw's Avatar
bear24rw bear24rw is offline
Team 11 Programming Captain
AKA: Max T
FRC #0011 (MORT)
Team Role: Programmer
 
Join Date: Sep 2005
Rookie Year: 2005
Location: Flanders, NJ
Posts: 385
bear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to behold
Send a message via AIM to bear24rw
Re: Error in code light on, trouble finding error

Just an idea...

Code:
 pwm01 = wL + 127;
 pwm02 = 127 - wR;
I've never casted a double to an unsigned char so im not sure if this could be it at all but try doing

Code:
 pwm01 = (int)wL + 127;
 pwm02 = 127 - (int)wR;
[