I have Ultimate 2 kit. I built the Robotic Arm Tank and I mounted on it 2 motorized ultrasonic sensors HC-SR04 and 1 Me Ultrasonic Sensor. After finishing the mechanical work I started to learn and understand how to program it. From the start I have a problem.
It is said that if I use NewPing Library for HC-SR04 that is possible to conect together “transmit” and “receive” pins of the sensor and to use, in this way, only one signal pin from MegaPi board (1 pin per sensor) beside the +5V and GND pins.
The problem is that when I tried to include NewPing Library in Arduino IDE I got a compilation error. See the image below.
Is any possibility to solve this problem?
I am very in the beginning with my programming skills.
Thanks.