32 #ifndef SRF04_PARAM_TRIGGER
33 #define SRF04_PARAM_TRIGGER GPIO_PIN(0, 13)
35 #ifndef SRF04_PARAM_ECHO
36 #define SRF04_PARAM_ECHO GPIO_PIN(0, 14)
40 #define SRF04_PARAMS \
41 { .trigger = SRF04_PARAM_TRIGGER, \
42 .echo = SRF04_PARAM_ECHO, \
57 #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.