19 #ifndef SRF04_PARAMS_H
20 #define SRF04_PARAMS_H
33 #ifndef SRF04_PARAM_TRIGGER
34 #define SRF04_PARAM_TRIGGER GPIO_PIN(0, 13)
36 #ifndef SRF04_PARAM_ECHO
37 #define SRF04_PARAM_ECHO GPIO_PIN(0, 14)
41 #define SRF04_PARAMS \
42 { .trigger = SRF04_PARAM_TRIGGER, \
43 .echo = SRF04_PARAM_ECHO, \
58 #define SRF04_NUMOF ARRAY_SIZE(srf04_params)
Device driver for the srf04 ultra sonic range finder.
static const srf04_params_t srf04_params[]
SRF04 configuration.
GPIO pins for srf04 device.