On This Page

Related Pages


Generate data from on-screen button

The Button widget creates an on-screen button that when clicked or touched, outputs the widget max value. When the button is not active, the widget min is output.

Use the “drag” handle to move the button to your desired position on the screen. The position of the touchable button is independent of the widget, and when the widget is hidden, the button will stay visible.

NOTE: This widget is currently in a primitive state, and will be improved to provide more control of the visual appearance of the button.


1 Position Button

Drag the button to the location on the screen you want using the “Drag” element in the lower left of the button rectangle. This position is independent of the widget itself.

2 Set the Min and Max

Set the values of the Min and Max as appropriate for your application. The defaults are 0 and 1023 respectively, but can be anything. For example, if the Button is sending values to the Audio widget Volume input, you could have the Min set to 0, and the Max set to 100 to get to full volume. When the Button is not pressed, the 0 (Min) value will be sent, and when the Button is pressed, the 100 (Max) value will be sent to the Audio widget.

NETLabTK - Tangible IoT