You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
			
				
					14 lines
				
				353 B
			
		
		
			
		
	
	
					14 lines
				
				353 B
			| 
											5 years ago
										 | #pragma once
 | ||
|  | 
 | ||
| 
											3 years ago
										 | #include "system/sensord/sensors/bmx055_accel.h"
 | ||
|  | #include "system/sensord/sensors/i2c_sensor.h"
 | ||
| 
											5 years ago
										 | 
 | ||
|  | class BMX055_Temp : public I2CSensor {
 | ||
|  |   uint8_t get_device_address() {return BMX055_ACCEL_I2C_ADDR;}
 | ||
|  | public:
 | ||
|  |   BMX055_Temp(I2CBus *bus);
 | ||
|  |   int init();
 | ||
| 
											3 years ago
										 |   bool get_event(MessageBuilder &msg, uint64_t ts = 0);
 | ||
| 
											3 years ago
										 |   int shutdown() { return 0; }
 | ||
| 
											5 years ago
										 | };
 |