View Single Post
  #3   Spotlight this post!  
Unread 13-01-2004, 18:35
misterikkit's Avatar
misterikkit misterikkit is offline
will code for food
AKA: Jon B
#0258 (Sea Dawgs)
Team Role: Programmer
 
Join Date: Dec 2003
Location: San Jose, CA
Posts: 7
misterikkit will become famous soon enoughmisterikkit will become famous soon enough
Send a message via AIM to misterikkit
Re: Trouble with pwm outputs

I don't think it was a problem with the printf() function. We were trying to cast an int as an unsigned char, in order to be able to properly work with the pwm outputs. The variable pwm02 is #define'd to txdata.rc_pwm02, which is an unsigned char.
__________________
-j
[:\\|//: ]