User manual
Export 03.11.2017 Copyright by Joy-IT 4
3
1.2 Code-Example
You can nd a code example next which can be used to demonstrate the funconality of the sensor.
Please transfer the code completely to your Arduino.
Joy-IT® Ultrasonic Disance Sensor
Arduino Ultrasonic Distance Sensor
5V VCC
GND GND
7 Echo
8 Trig