Viam C++ SDK current
|
Defines a Board
component.
More...
#include <chrono>
#include <string>
#include <unordered_map>
#include <viam/sdk/common/proto_value.hpp>
#include <viam/sdk/common/utils.hpp>
#include <viam/sdk/config/resource.hpp>
Go to the source code of this file.
Classes | |
class | viam::sdk::Board |
Represents a physical board with gpio pins, digital interrupts, and analog voltage reading. More... | |
struct | viam::sdk::Board::analog_response |
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... | |
struct | viam::sdk::Board::status |
This contains all of the values for all of the registered analog readers and digital interrupts that have been registered on the board. More... | |
struct | viam::sdk::Board::Tick |
struct | viam::sdk::API::traits< Board > |
Functions | |
bool | viam::sdk::operator== (const Board::status &lhs, const Board::status &rhs) |
Defines a Board
component.