31 #include <mraa/gpio.h> 40 HCSR04_INCH } HCSR04_U;
51 mraa_gpio_context trigPin;
52 mraa_gpio_context echoPin;
double hcsr04_get_distance(hcsr04_context dev, HCSR04_U unit)
Definition: hcsr04.c:91
void hcsr04_close(hcsr04_context dev)
Definition: hcsr04.c:85
hcsr04_context hcsr04_init(int triggerPin, int echoPin)
Definition: hcsr04.c:30