Skip to main content

On Button Pressed

This block is triggered when a button is pressed. The 'button' here refers to an input defined as a button.

On Keypad Pressed Block

On TPS devices with an LCD and keypad, the buttons appear as soon as the LCD is enabled from the Hardware tab.

Other input lines can also be configured as button inputs. Check the configuration for a Tibbit #00 in the image below.

Configuration modal for Tibbit #01, where GPIO lines can be configured as inputs.

As you can see, "standard" and "button" are both inputs. Standard refers to a normal input (1 or 0, mostly used in conjunction with the "On Interrupt" block), while button is usually for buttons.

See also On Button Released