Potentiometer With Display Module

Parent

This Potentiometer Module allows for input of a fixed value range and fires a signal with the new value each time the internal counter changes. This version has a readout display on it.

Properties

autovalue : Bool

This sets whether or not to automatically update the display text to the potentiometer value or to use custom text. Default is true. All setText calls will be ignored if true.

Details
Flags RuntimeSync RuntimeParallel

Display Name

Auto Value

enabled : Bool

Sets wheter to accept input on this encoder or not. True means accept input, false means to igore input

Details
Flags RuntimeSync RuntimeParallel

Display Name

Enabled

max : Int

The maximum value for this potentiometer

Details
Flags RuntimeSync RuntimeParallel

Display Name

Maximum

min : Int

The minimum value for this potentiometer

Details
Flags RuntimeSync RuntimeParallel

Display Name

Minimum

value : Int

The current value of this potentiometer. Setting this will change the internal value.

Details
Flags RuntimeSync RuntimeParallel

Display Name

Value

Functions

setText (text : String)

Sets the text to be displayed on this micro display

Details

Flags

RuntimeSync RuntimeParallel MemberFunc

Display Name

Set Text

Parameters
Name Type Description

Text text

String

The new text to display

setColor (Red : Float, Green : Float, Blue : Float, Emit : Float)

Details

Flags

RuntimeSync RuntimeParallel MemberFunc

Display Name

setColor

Parameters
Name Type Description

Red Red

Float

Green Green

Float

Blue Blue

Float

Emit Emit

Float

Signals

value (Int Value value)

Signal fired when this potentiometers value changes by user interaction.

Details
Parameters
Name Type Description

Value value

Int

The new value of this potentiometer