upm
1.7.1
Sensor/Actuator repository for libmraa (v2.0.0)
|
Go to the source code of this file.
Data Structures | |
struct | _loudness_context |
Functions | |
loudness_context | loudness_init (int pin) |
void | loudness_close (loudness_context dev) |
upm_result_t | loudness_get_value (loudness_context dev, int *val) |
Typedefs | |
typedef struct _loudness_context * | loudness_context |
loudness_context loudness_init | ( | int | pin | ) |
Loudness Initialization function
pin | AIO pin to use |
void loudness_close | ( | loudness_context | dev | ) |
Loudness destructor
void* | pointer to the sensor struct |
upm_result_t loudness_get_value | ( | loudness_context | dev, |
int * | val | ||
) |
Function gets the loudness raw value (currently)
void* | pointer to the sensor struct |
int* | pointer to store the loudness value. |
typedef struct _loudness_context * loudness_context |
device context