29 #include <mraa/aio.hpp>
30 #include <mraa/gpio.hpp>
88 mraa_result_t
write(
int value);
102 mraa_gpio_context m_gpio;
156 mraa_gpio_context m_gpio;
193 mraa_aio_context m_aio;
234 mraa_aio_context m_aio;
297 mraa_aio_context m_aio;
298 static const int m_max_angle = 300;
344 mraa_aio_context m_aio;
390 #if defined(SWIGJAVA) || defined(JAVACALLBACK)
391 void installISR(mraa::Edge level, jobject runnable);
393 void installISR(mraa::Edge level,
void (*isr)(
void *),
void *arg);
402 #if defined(SWIGJAVA) || defined(JAVACALLBACK)
403 void installISR(mraa::Edge level,
void (*isr)(
void *),
void *arg);
407 mraa_gpio_context m_gpio;
~GroveLight()
Definition: grove.cxx:152
GroveTemp(unsigned int pin)
Definition: grove.cxx:112
mraa_result_t on()
Definition: grove.cxx:90
float raw_value()
Definition: grove.cxx:235
mraa_result_t off()
Definition: grove.cxx:67
bool isOn()
Definition: grove.cxx:100
API for the Grove LED.
Definition: grove.h:65
float rel_rad()
Definition: grove.cxx:212
~GroveRelay()
Definition: grove.cxx:85
GroveSlide(unsigned int pin, float ref_voltage=5.0)
Definition: grove.cxx:219
float abs_deg()
Definition: grove.cxx:192
GroveLed(int pin)
Definition: grove.cxx:38
float raw_value()
Definition: grove.cxx:165
~GroveRotary()
Definition: grove.cxx:182
mraa_result_t write(int value)
Definition: grove.cxx:54
API for the Grove Relay.
Definition: grove.h:117
~GroveLed()
Definition: grove.cxx:49
float ref_voltage()
Definition: grove.cxx:248
GroveRotary(unsigned int pin)
Definition: grove.cxx:172
float voltage_value()
Definition: grove.cxx:240
float rel_value()
Definition: grove.cxx:202
API for the Grove Light Sensor.
Definition: grove.h:209
API for the Grove Slide Potentiometer.
Definition: grove.h:311
GroveRelay(unsigned int pin)
Definition: grove.cxx:74
~GroveTemp()
Definition: grove.cxx:122
API for the Grove Temperature Sensor.
Definition: grove.h:168
float abs_value()
Definition: grove.cxx:187
float rel_deg()
Definition: grove.cxx:207
GroveLight(unsigned int pin)
Definition: grove.cxx:142
mraa_result_t off()
Definition: grove.cxx:95
float raw_value()
Definition: grove.cxx:135
int value()
Definition: grove.cxx:127
float abs_rad()
Definition: grove.cxx:197
bool isOff()
Definition: grove.cxx:105
API for the Grove Rotary Angle Sensor (Knob)
Definition: grove.h:248
mraa_result_t on()
Definition: grove.cxx:62
int value()
Definition: grove.cxx:157
~GroveSlide()
Definition: grove.cxx:230