Ardupilot2/libraries/AP_BattMonitor/AP_BattMonitor_SMBus_NeoDesign.h
Kelly Schrock 2cb54bb11d AP_BattMonitor: NeoDesign battery driver
Adds a driver for the NeoDesign BMS, with variable cell count.
2020-04-28 10:39:57 +10:00

19 lines
457 B
C++

#pragma once
#include "AP_BattMonitor_SMBus.h"
class AP_BattMonitor_SMBus_NeoDesign : public AP_BattMonitor_SMBus
{
public:
AP_BattMonitor_SMBus_NeoDesign(AP_BattMonitor &mon,
AP_BattMonitor::BattMonitor_State &mon_state,
AP_BattMonitor_Params &params,
AP_HAL::OwnPtr<AP_HAL::I2CDevice> dev);
private:
void timer(void) override;
uint8_t _cell_count;
};