#include "compiler.h"
Functions | |
bool | b_light_get_value (char *buf, U32 *result) |
Get the current light sensor value. More... | |
Get the current light sensor value.
buf | char buffer in which the light sensor value is stored. |
result | returns the light sensor value. |
References adc, adc_disable(), adc_enable(), adc_get_value(), ADC_LIGHT_CHANNEL, ADC_MAX_VALUE, and adc_start().
Referenced by device_full_custom_task().