Template:UgDigitalInputAH: Difference between revisions

From Phidgets Support
(Created page with "===Digital Input=== right|link= When you double click on an Digital Input object, a window like the one pictured will open. * At the t...")
 
Line 1: Line 1:
===Digital Input===
===Digital Input===


[[Image:DigitalInputAL_Example.jpg|right|link=]]
[[Image:{{{1}}}_DigitalInputAL_Example.jpg|right|link=]]


When you double click on an Digital Input object, a window like the one pictured will open.  
When you double click on an Digital Input object, a window like the one pictured will open.  


* At the top of the window, information about your device and the properties of this particular channel will be listed.  
* At the top of the window, information about your device and the properties of this particular channel will be listed.  
* At the bottom there is a box that will display "true" or "false" depending on the state of the digital input. Since this is an '''active high''' input, it will be "true" when connected to 5V, and "false" when connected to ground. If you have a switch, you can test this input by connecting the white wire of the sensor cable to one of the switch's terminals, and the red wire to another. Pressing the switch should cause the input to read "true".  
* At the bottom there is a box that will display "true" or "false" depending on the state of the digital input. Since this is an '''active high''' input, it will be "true" when connected to 5V, and "false" when connected to ground.
<br clear="all">
<br clear="all">

Revision as of 18:15, 12 June 2017

Digital Input

[[Image:{{{1}}}_DigitalInputAL_Example.jpg|right|link=]]

When you double click on an Digital Input object, a window like the one pictured will open.

  • At the top of the window, information about your device and the properties of this particular channel will be listed.
  • At the bottom there is a box that will display "true" or "false" depending on the state of the digital input. Since this is an active high input, it will be "true" when connected to 5V, and "false" when connected to ground.