mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-05 03:21:42 +00:00
[sim] Add sim wrappers for sensors that use SimDevice (#3517)
This commit is contained in:
@@ -44,6 +44,8 @@ class ADXL345_SPI : public Accelerometer,
|
||||
ADXL345_SPI(ADXL345_SPI&&) = default;
|
||||
ADXL345_SPI& operator=(ADXL345_SPI&&) = default;
|
||||
|
||||
SPI::Port GetSpiPort() const;
|
||||
|
||||
// Accelerometer interface
|
||||
void SetRange(Range range) final;
|
||||
double GetX() override;
|
||||
|
||||
Reference in New Issue
Block a user