[sim] Add sim wrappers for sensors that use SimDevice (#3517)

This commit is contained in:
PJ Reiniger
2021-08-21 02:19:59 -04:00
committed by GitHub
parent 2b3e2ebc11
commit 2edd510ab7
35 changed files with 771 additions and 3 deletions

View File

@@ -46,6 +46,9 @@ class ADXL345_I2C : public Accelerometer,
ADXL345_I2C(ADXL345_I2C&&) = default;
ADXL345_I2C& operator=(ADXL345_I2C&&) = default;
I2C::Port GetI2CPort() const;
int GetI2CDeviceAddress() const;
// Accelerometer interface
void SetRange(Range range) final;
double GetX() override;