Skip to content

Struct espos::devices::TankLevelConfig

ClassList > espos > devices > TankLevelConfig

  • #include <espos_devices/tank.hpp>

Public Attributes

Type Name
float divider_ohms = 1000.0f
float empty_ohms = 190.0f
float full_ohms = 3.0f
int gpio = -1
const char * id = "tank"
const char * path = "tanks.freshWater.0.currentLevel"
uint32_t period_ms = 2000
uint8_t samples = 16
float supply_volts = 3.3f

Public Attributes Documentation

variable divider_ohms

float espos::devices::TankLevelConfig::divider_ohms;

variable empty_ohms

float espos::devices::TankLevelConfig::empty_ohms;

variable full_ohms

float espos::devices::TankLevelConfig::full_ohms;

variable gpio

int espos::devices::TankLevelConfig::gpio;

variable id

const char* espos::devices::TankLevelConfig::id;

variable path

const char* espos::devices::TankLevelConfig::path;

variable period_ms

uint32_t espos::devices::TankLevelConfig::period_ms;

variable samples

uint8_t espos::devices::TankLevelConfig::samples;

variable supply_volts

float espos::devices::TankLevelConfig::supply_volts;


The documentation for this class was generated from the following file espos_devices/include/espos_devices/tank.hpp