43 float voltageCh3,
float voltageCh4)
54 return "timestamp,voltage_channel_1,voltage_channel_2,voltage_channel_"
55 "3,voltage_channel_4\n";
58 void print(std::ostream& os)
const
66 return {
timestamp,
static_cast<uint8_t
>(channel),
67 voltage[
static_cast<uint8_t
>(channel)]};
This file includes all the types the logdecoder script will decode.
Structure to handle ADC data.
static std::string header()
void print(std::ostream &os) const
ADS131M04Data(uint64_t timestamp, float voltageCh1, float voltageCh2, float voltageCh3, float voltageCh4)
const ADCData getVoltage(ADS131M04Defs::Channel channel)