View Single Post
  #17   Spotlight this post!  
Unread 13-02-2015, 00:34
nighterfighter nighterfighter is offline
1771 Alum, 1771 Mentor
AKA: Matt B
FRC #1771 (1771)
Team Role: Mentor
 
Join Date: Sep 2009
Rookie Year: 2007
Location: Suwanee/Kennesaw, GA
Posts: 835
nighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant future
Re: Industrial switch

Quote:
Originally Posted by GeeTwo View Post

This web page
covers the difference between NO and NC pretty well. It's based on the 2014 control system, but I don't think any of the concepts at this level of detail have changed.
Here is the 2015 version. The only "change" is the picture of the switch is slightly brighter.

One thing to point out (and I edited my post saying I assumed wrong), is that the digital input on the roboRIO will be 1 when the switch is open, and 0 when it is closed.

Example Java code is provided in the link, and the code will be the same for C++.
__________________
1771- Programmer, Captain, Drive Team (2009-2012)
4509- Mentor (2013-2015)
1771- Mentor (2015)