View Single Post
  #1   Spotlight this post!  
Unread 27-01-2006, 19:36
RedOctober RedOctober is offline
Registered User
FRC #0291
 
Join Date: Dec 2005
Location: Pittsburgh
Posts: 9
RedOctober will become famous soon enoughRedOctober will become famous soon enough
Digital I/O Help

How do I use the I/O's to sense an external input, such as a switch, particularly a limit switch. For example, if I want to count how many times the switch was pressed, meaning that the digital input detects a "high" signal and can then count a variable each time this happens, in code. I been trying to mess with it but I do not much experience with this type of custom configuration. I been trying to set up the digital inputs to detect a high signal and then a different one output a certain signal but with no luck. Thanks for any help with this.