NXT Touch Sensor¶
Non-Visible componentCategory | Requires | Version |
---|---|---|
LEGO® MINDSTORMS® > NXT | API 21, Android 5.0 Lollipop | 1 |
Overview¶
A component that provides a high-level interface to a touch sensor on a LEGO MINDSTORMS NXT robot.
Events¶
Pressed¶
Touch sensor has been pressed.
Released¶
Touch sensor has been released.
Methods¶
Is Pressed¶
Returns: Boolean
Returns true if the touch sensor is pressed.
Properties¶
Bluetooth Client¶
Component Write - Designer
The BluetoothClient component that should be used for communication.
Pressed Event Enabled¶
Boolean Default: False Read Write - Designer Blocks
Whether the Pressed event should fire when the touch sensor is pressed.
Released Event Enabled¶
Boolean Default: False Read Write - Designer Blocks
Whether the Released event should fire when the touch sensor is released.
Sensor Port¶
Text Default: 1 Write - Designer
The sensor port that the sensor is connected to.
Last update: November 9, 2022