Robot2025/Cerveau/Com_detection_adversaire.h

14 lines
309 B
C

#ifndef DETEC_ADV_H
#define DETEC_ADV_H
#define I2C_SLAVE_detect_adv 0x18
struct detect_adv_reception_t {
unsigned char distance_cm[12];
};
int Detect_adv_lire(struct detect_adv_reception_t * detect_adv_reception, bool);
int Detect_adv_lire(struct detect_adv_reception_t * detect_adv_reception);
#endif