Viam C++ SDK current
Loading...
Searching...
No Matches
Public Attributes | List of all members
viam::sdk::Board::analog_response Struct Reference

Represents the response received when reading the registered analog to digital converter (ADC). The range and conversion mechanism to voltage will vary depending on the specific ADC registered to the pin, though the min and max voltages and step_size can often help with this conversion. Consult your ADC's documentation and Viam's Board documentation for more details. More...

#include <board.hpp>

Public Attributes

analog_value value = 0
 
float min_range = 0.0f
 
float max_range = 0.0f
 
float step_size = 0.0f
 

Detailed Description

Represents the response received when reading the registered analog to digital converter (ADC). The range and conversion mechanism to voltage will vary depending on the specific ADC registered to the pin, though the min and max voltages and step_size can often help with this conversion. Consult your ADC's documentation and Viam's Board documentation for more details.


The documentation for this struct was generated from the following file: