loading
 
Analog Input
Steve A from United States  [3 posts]
2 months
I would lie to control a RGB filter variable (Min intensity) from an analog input in from the Phidgets 8/8/8 module.

Is there an easy way to do this?
STeven from United States  [1403 posts] 2 months
Yes, you can type in a variable name next to that analog input in the Phidgets 888 module. That variable will then get the value of the analog input. This variable can then be used in a [variable] expression in the RGB filter module. I.e. type the [] and the variable name inside those brackets. When you do that the word in those [] is evaluated for a value.

This also assumes the scale is the same ... i.e. the analog value is from 0 to 255. If not, see the Scale_Variable module.

STeven.

 Reply  New Post   Forum Index