25 lines
		
	
	
		
			537 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			537 B
		
	
	
	
		
			C
		
	
	
	
	
	
| //
 | |
| // Created by dell on 24-9-26.
 | |
| //
 | |
| 
 | |
| #ifndef MLX90614_H
 | |
| #define MLX90614_H
 | |
| 
 | |
| #include "gd32e23x.h"
 | |
| #include "i2c.h"
 | |
| #include "gd32e23x.h"
 | |
| #include "systick.h"
 | |
| #include <stdio.h>
 | |
| 
 | |
| /******************************************************************************/
 | |
| 
 | |
| #define MLX90614_ADDR             (0x5A << 1)
 | |
| #define MLX90614_OBJ_TEMP_REG     0x07
 | |
| #define MLX90614_AMB_TEMP_REG     0x06
 | |
| 
 | |
| /******************************************************************************/
 | |
| 
 | |
| uint16_t mlx90614_get_objrct_temperature(void);
 | |
| 
 | |
| #endif //MLX90614_H
 |