upm_result_t light_set_scale(const light_context dev, float scale)
Definition: light.c:74
float light_get_aref(const light_context dev)
Definition: light.c:86
upm_result_t light_set_aref(const light_context dev, float aref)
Definition: light.c:68
float light_get_offset(const light_context dev)
Definition: light.c:96
upm_result_t light_get_raw_volts(const light_context dev, float *value)
Definition: light.c:109
void light_close(light_context dev)
Definition: light.c:62
upm_result_t light_get_lux(const light_context dev, float *value)
Definition: light.c:121
upm_result_t light_set_offset(const light_context dev, float offset)
Definition: light.c:80
float light_get_scale(const light_context dev)
Definition: light.c:91
light_context light_init(int16_t pin)
Definition: light.c:31
struct _light_context * light_context
upm_result_t light_get_normalized(const light_context dev, float *value)
Definition: light.c:101