25 #ifndef MQ303A_MQ303A_H_ 26 #define MQ303A_MQ303A_H_ 30 #include "mraa/gpio.h" 44 mraa_gpio_context gpio;
mq303a_context mq303a_init(int pin, int heater_pin)
Definition: mq303a.c:29
upm_result_t mq303a_get_value(mq303a_context dev, int *val)
Definition: mq303a.c:69
struct _mq303a_context * mq303a_context
upm_result_t mq303a_heater_enable(mq303a_context dev, bool enable)
Definition: mq303a.c:60
void mq303a_close(mq303a_context dev)
Definition: mq303a.c:56