Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Sps30 Class Reference
Create SPS30 controller class. More...
#include <sps30.h>
Public Member Functions | |
Sps30 (PinName sda, PinName scl, int i2c_frequency) | |
32 unsigned bit in seconds | |
~Sps30 () | |
Destructor. | |
void | InitSensor () |
Initialise SPS30. | |
int | PollSensor () |
Poll SPS30 Data. | |
Data Fields | |
uint16_t | sps_ready |
1 = ready, 0 = busy |
Detailed Description
Create SPS30 controller class.
inherits SensorDriver members and methods essential for Sensor Thread
- Parameters:
-
sps30 class
Definition at line 48 of file sps30.h.
Constructor & Destructor Documentation
Sps30 | ( | PinName | sda, |
PinName | scl, | ||
int | i2c_frequency | ||
) |
Member Function Documentation
void InitSensor | ( | ) |
int PollSensor | ( | ) |
Field Documentation
Generated on Sun Jul 31 2022 16:29:41 by
