View Single Post
  #7   Spotlight this post!  
Unread 09-05-2005, 10:51
Dave Scheck's Avatar
Dave Scheck Dave Scheck is offline
Registered User
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Feb 2003
Rookie Year: 2002
Location: Arlington Heights, IL
Posts: 574
Dave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond repute
Re: internal demons?

Quote:
Originally Posted by Alan Anderson
That doesn't look right at all. Try this instead:
Code:
printf(" pwm01 = %d/n", pwm01);
printf(" rc_dig_01 = %d/n", rc_dig_01);
On top of that you want to use \n instead of /n.
Code:
printf(" pwm01 = %d\n", pwm01);
printf(" rc_dig_01 = %d\n", rc_dig_01);
Depending on what you're using to view the output, you may need to substitute a \r for the \n.