HCSR04
Description
Included in ARDUnity Deluxe.
Component for HCSR04 ultrasonic sensor.
Sketch Option has to be set because it is creating ARDUINO Sketch.
Inspector
id
Controller ID
It should not overlap with other Controller ID
trig
Pin number of Arduino to which TRIG pin of HCSR04 is connected
echo
Pin number of Arduino to which ECHO pin of HCSR04 is connected
Enable update
Whether to continue to update the value of HCSR04
It can be disabled to reduce the communication load as needed.
Distance
Distance value measured from HCSR04 (unit: cm)
Wiring