View Single Post
  #5   Spotlight this post!  
Unread 09-05-2005, 09:35
pagemauck pagemauck is offline
Registered User
#0437
 
Join Date: Oct 2003
Location: richmond, va.
Posts: 25
pagemauck is an unknown quantity at this point
Re: internal demons?

Thanks for the replies to my vague question. Specifically what I'm seeing is outputs switched in the printf statements. Does anyone know of a good place to find info on them?

Example :

(We are trying to print motor speed and banner sensor output)

printf ( "%d/n", " pwm01 = ", pwm01 );
printf ( "%d/n", " rc_dig_01 = ", rc_dig_01 );

Output

pwm01 = 1
rc_dig_01 = 145 // these numbers are switched

How do we rewrite the printfs to get what we want?

Thanks!