30 #include <mraa/aio.hpp> 110 std::string name(){
return "Rotary Angle Sensor";}
112 mraa_aio_context m_aio;
113 static const int m_max_angle = 300;
float abs_deg()
Definition: rotary.cxx:55
~Rotary()
Definition: rotary.cxx:45
Rotary(unsigned int pin)
Definition: rotary.cxx:36
float rel_deg()
Definition: rotary.cxx:70
float abs_rad()
Definition: rotary.cxx:60
C++ API wrapper for the bh1749 driver.
Definition: a110x.hpp:29
float rel_value()
Definition: rotary.cxx:65
float rel_rad()
Definition: rotary.cxx:75
float abs_value()
Definition: rotary.cxx:50
API for the Rotary Angle Sensor (Knob)
Definition: rotary.hpp:62