Source-only snapshot of the 1.2 release. Drivers/ (the vendored ST HAL and CMSIS) is excluded at 173 MB; fetch it from STMicroelectronics/STM32CubeH5 to build.
10 lines
216 B
C
10 lines
216 B
C
#ifndef __YEEP144_GP2Y0E02B_H
|
|
#define __YEEP144_GP2Y0E02B_H
|
|
|
|
#define GP2Y0E02B_I2C_ADDR 0x80
|
|
#define GP2Y0E02B_SHIFT_REG_ADDR 0x35
|
|
#define GP2Y0E02B_DISTANCE_REG_ADDR 0x5E
|
|
|
|
float YEEP144_GP2Y0E02B_Read(void);
|
|
|
|
#endif |