upm
1.7.1
Sensor/Actuator repository for libmraa (v2.0.0)
|
Go to the source code of this file.
Data Structures | |
struct | _ppd42ns_context |
Functions | |
ppd42ns_context | ppd42ns_init (int pin) |
void | ppd42ns_close (ppd42ns_context dev) |
ppd42ns_dust_data | ppd42ns_get_data (const ppd42ns_context dev) |
Typedefs | |
typedef struct _ppd42ns_context * | ppd42ns_context |
ppd42ns_context ppd42ns_init | ( | int | pin | ) |
PPD42NS initialization
pin | Digital pin to use |
void ppd42ns_close | ( | ppd42ns_context | dev | ) |
PPD42NS close
dev | Device context. |
ppd42ns_dust_data ppd42ns_get_data | ( | const ppd42ns_context | dev | ) |
Prints dust concentration
dev | Device context. |
typedef struct _ppd42ns_context * ppd42ns_context |
Device context