View Single Post
  #4   Spotlight this post!  
Unread 13-02-2006, 00:29
Chriszuma's Avatar
Chriszuma Chriszuma is offline
Jack of all trades
AKA: Chris Hammond
FRC #0068 (Truck Town Thunder)
Team Role: Alumni
 
Join Date: Oct 2004
Rookie Year: 2005
Location: Clarkston, MI
Posts: 290
Chriszuma is just really niceChriszuma is just really niceChriszuma is just really niceChriszuma is just really nice
Send a message via AIM to Chriszuma
Re: How to connect the touch sensor?

Yes, that should work, as long as the stuff you want it to do is enclosed in {braces}. The printf command is very simple.

Code:
printf( "The digital in is reading %d", (int)rc_dig_in01 );
When you download the code with IFI Loader, it should automatically bring up a terminal window that dissplays the printf outputs. (you can also click 'terminal window' in the menu to bring it up).
__________________
2006 T3 World Tour: Great Lakes - Waterloo - Palmetto - IRI
2006 Awards: Motorola Quality - RadioShack Innovation in Control

My website: http://zuma.phire.org/
Truck Town Thunder's website: http://trucktownthunder.com/