Template:UgDigitalOutput: Difference between revisions

From Phidgets Support
(Created page with "===Digital Output=== right|link= When you double click on an Digital Output object, a window like the one pictured will open. * At the...")
 
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
===Digital Output===
===Digital Output===
Double-click on a Digital Output object {{{2}}} in order to run the example:
[[Image:{{{1}}}_DigitalOutput_Example.jpg|center|link=]]


[[Image:DigitalOutput_Example.jpg|right|link=]]


When you double click on an Digital Output object, a window like the one pictured will open.
{{UGExampleDescription}}
 
*Toggle the state of the digital output by pressing the button.
* At the top of the window, information about your device and the properties of this particular channel will be listed.
* At the bottom is a button you can press to toggle the on/off state of the digital output.  If you have an LED or some other electronic component that runs off of a small voltage, you can connect the positive wire of the component to the digital output, and the negative wire to the ground terminal. If pulse-width modulation is supported by your device, you can move the duty cycle slider to adjust the effective power supplied to the output, where 0 is "off", and 1 is "full power". Try moving the slider to adjust the amount of power provided to the device. If it's an LED, you should see it grow brighter as you increase the duty cycle.
<br clear="all">

Latest revision as of 20:58, 20 June 2017

Digital Output

Double-click on a Digital Output object {{{2}}} in order to run the example: [[Image:{{{1}}}_DigitalOutput_Example.jpg|center|link=]]


General information about the selected object will be displayed at the top of the window. You can also experiment with the following functionality:

  • Toggle the state of the digital output by pressing the button.