![]() |
Launchpad control panel outputs help
How would the labview code be made so that if a limit switch is pressed a light turns on on the control panel which is using a Launchpad, from what i can see the joystick output block only allows 1 non-addressable output to be turned on.
Thanks. |
Re: Launchpad control panel outputs help
2 Attachment(s)
The joystick output block takes an array of Boolean values to define the output state on the TI LaunchPad.
Here are a couple of examples of setting the outputs with arrays: Attachment 20156 If you have a couple of switches, you could do something similar to below: Attachment 20157 Note that in my examples above everything is zero indexed (the output names I set start with 0). On the TI LaunchPad documentation the outputs are 1 indexed (the output naming start with 1). |
Re: Launchpad control panel outputs help
Thank you w200999! That's exactly what I needed.
|
| All times are GMT -5. The time now is 07:44. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi