Import YEEP-144 library 1.2 sources
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.
This commit is contained in:
10
YEEP144lib/include/YEEP144_GP2Y0E02B.h
Normal file
10
YEEP144lib/include/YEEP144_GP2Y0E02B.h
Normal file
@@ -0,0 +1,10 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user