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
 
float min_range
 
float max_range
 
float step_size
 

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: