version: sunnypilot v2026.002.000 (staging) date: 2026-07-21T07:44:02 master commit: 2c334ede443d7391d27575af8c854a095ba702a8
14 lines
375 B
C++
14 lines
375 B
C++
#pragma once
|
|
|
|
#include "sunnypilot/system/sensord/sensors/bmx055_accel.h"
|
|
#include "sunnypilot/system/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(MessageBuilder &msg, uint64_t ts = 0);
|
|
int shutdown() { return 0; }
|
|
};
|