View Single Post
  #4   Spotlight this post!  
Unread 29-01-2008, 18:33
MCahoon MCahoon is offline
Registered User
FRC #3826 (Sequim Robotics Federation)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Sequim, WA
Posts: 129
MCahoon has much to be proud ofMCahoon has much to be proud ofMCahoon has much to be proud ofMCahoon has much to be proud ofMCahoon has much to be proud ofMCahoon has much to be proud ofMCahoon has much to be proud ofMCahoon has much to be proud ofMCahoon has much to be proud of
Re: Wiring A Dipswitch

Make sure your dip switch is connected to digital in/out pins. For the Digital In/Out ports on the RC, your user code must define whether the port pin is an input or an output. By defining the port pin as an input, there is a resistor allowing a small amount of current (large resistance) connected from that input pin to the +5 V supply built into the RC (the "weak pulll-up"). Your dipswitch is connected such that if the switch is open, the RC should read a logic "1", and conversely, a logic "0" when the switch is closed. On the IFIRobotics site, there is a manual on the RC which provides more information.

Last edited by MCahoon : 29-01-2008 at 18:42. Reason: erroneous statement