124
meets the conditions; otherwise, returns "False".
(2) Return value: Boolean
(3) Example: Lighting effect upon touch
Connect a touch sensor to sensor adaptor No.1 and after the finger touches the sensor, the gimbal displays
a blue marquee lighting effect.
Note:
The touch sensor used in this function design will output a high electrical level if a finger touches it, and a
low level when it is not touched, but the situation for different types of touch sensors varies.
(1) Description: Read the ADC pin value of a specified port of a specified sensor adaptor.
(2) Return value: Information
(3) Example: Temperature alarm
Connect a temperature sensor to sensor adaptor No.1. A sound alert is played when the temperature sensor
approaches a cup filled with hot water.