mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-09 21:21:12 +00:00
Ultrasonic
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
#ifndef __ULTRASONIC_H__
|
||||
#define __ULTRASONIC_H__
|
||||
|
||||
typedef struct {
|
||||
gpio_num_t trigger_gpio; // GPIO for the trigger pin
|
||||
gpio_num_t echo_gpio; // GPIO for the echo pin
|
||||
} ultrasonic_sensor_t;
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user