Search found 1 match

by theobouwman
Thu May 02, 2019 12:51 pm
Forum: Hardware
Topic: ESP32 with 4 HC-SR04 sensors
Replies: 0
Views: 4339

ESP32 with 4 HC-SR04 sensors

Hello, I want to use 4 HC-SR04 sensors with the ESP32. Currently I am developing using the Arduino IDE. Below is the code I am using: // Pins #define SENSORS_NUM 3 #define TRIG_PIN_1 2 #define ECHO_PIN_1 4 #define TRIG_PIN_2 12 #define ECHO_PIN_2 14 #define TRIG_PIN_3 26 #define ECHO_PIN_3 25 // Any...