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.
13 lines
362 B
13 lines
362 B
#pragma once
|
|
|
|
#include "selfdrive/sensord/sensors/bmx055_accel.h"
|
|
#include "selfdrive/sensord/sensors/i2c_sensor.h"
|
|
|
|
class BMX055_Temp : public I2CSensor {
|
|
uint8_t get_device_address() {return BMX055_ACCEL_I2C_ADDR;}
|
|
public:
|
|
BMX055_Temp(I2CBus *bus);
|
|
int init();
|
|
bool get_event(cereal::SensorEventData::Builder &event);
|
|
int shutdown() { return 0; }
|
|
};
|
|
|