规范第一版超声与红外代码函数,红外可以添加更多函数,待学习。同时修改CMakeList在生成bin与hex文件时的命名,以便区分。CMakeList与.h头文件的联动尚未实现。
This commit is contained in:
@@ -23,7 +23,10 @@
|
||||
#define REG_ADDR_OBJ_TEMP 0x07
|
||||
#define REG_ADDR_AMB_TEMP 0x06
|
||||
|
||||
/* function declarations */
|
||||
/* this function configures I2C Peripheral & GPIO AF for I2C */
|
||||
void MLX90614_I2CConfig(void);
|
||||
/* this function reads object temperature */
|
||||
uint16_t MLX90614_GetObjectTemperature(void);
|
||||
|
||||
#endif //MLX90614_H
|
||||
|
||||
Reference in New Issue
Block a user