View Single Post
  #4   Spotlight this post!  
Unread 31-01-2007, 22:06
mandrews281 mandrews281 is offline
Registered User
FRC #0281
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Greenville SC
Posts: 82
mandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to behold
Re: Digital IO Agggggggggggg!

Quote:
digital_io_01 is used to set the pin to either INPUT or OUTPUT.

To actually read it once you have it set to input, you read it through rc_dig_in01.

If you were to set it to output instead, you set the value to rc_dig_out01.
Michael

You just solved one nagging bug from our 2006 code. Our 2007 code thanks you.