Skip to content

using a formula in slider VOUT command #621

Answered by MAKOMO
bravowren asked this question in Q&A
Discussion options

You must be logged in to vote

Works for me using the current Artisan v2.4.4. Set the slider to min=0, max=5 and use VOUT Command action with Command "out(0,5-{})" (offset=0, factor=1). Put the slider to 5 and the output is 0V, put the slider to 0 and the output is 5V. The command processing of sliders is the same as for buttons. Same code is used.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@bravowren
Comment options

Answer selected by MAKOMO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants