30 #include <mraa/aio.hpp> 31 #include "grovebase.hpp" 105 mraa_aio_context m_aio;
106 static const int m_max_angle = 300;
float rel_rad()
Definition: groverotary.cxx:76
C++ API wrapper for the bh1749 driver.
Definition: a110x.hpp:29
float abs_deg()
Definition: groverotary.cxx:56
~GroveRotary()
Definition: groverotary.cxx:46
GroveRotary(unsigned int pin)
Definition: groverotary.cxx:36
float rel_value()
Definition: groverotary.cxx:66
float abs_value()
Definition: groverotary.cxx:51
float rel_deg()
Definition: groverotary.cxx:71
float abs_rad()
Definition: groverotary.cxx:61
Definition: grovebase.hpp:39
API for the Grove Rotary Angle Sensor (Knob)
Definition: groverotary.hpp:56