SRK Version of mDot LoRa_Sensormode_SRK
Dependencies: libmDot mbed-rtos mbed
Fork of mDot_LoRa_Sensornode by
SI1143 Class Reference
Provides Functionality to control the SI1143 Sensor on the Sensbert. More...
#include <SI1143.h>
Public Member Functions | |
void | init (SI1143_MODE desiredMode) |
Initializes the SI1143 according to the desired SI1143_MODE. | |
void | restart (void) |
Restarts the Sensor and its functionality. | |
int | getProximity (int repeat) |
Get the actual proximity that has been measured. | |
int | getAmbientLight (int repeat) |
Get the actual ambient light that has been measured. | |
int | getInfraRedLight (int repeat) |
Get the actual infrared light that has been measured. |
Detailed Description
Provides Functionality to control the SI1143 Sensor on the Sensbert.
Definition at line 141 of file SI1143.h.
Member Function Documentation
int getAmbientLight | ( | int | repeat ) |
Get the actual ambient light that has been measured.
- Parameters:
-
repeat how many time the measurement has been taken to get an average ambient light value
- Returns:
Definition at line 92 of file SI1143.cpp.
int getInfraRedLight | ( | int | repeat ) |
Get the actual infrared light that has been measured.
- Parameters:
-
repeat how many time the measurement has been taken to get an average infrared light value
- Returns:
Definition at line 113 of file SI1143.cpp.
int getProximity | ( | int | repeat ) |
Get the actual proximity that has been measured.
- Parameters:
-
repeat how many time the measurement has been taken to get an average proximity value
- Returns:
Definition at line 72 of file SI1143.cpp.
void init | ( | SI1143_MODE | desiredMode ) |
Initializes the SI1143 according to the desired SI1143_MODE.
- Parameters:
-
desiredMode the desired Mode depending on which the SI1143 has to be configured
Definition at line 16 of file SI1143.cpp.
void restart | ( | void | ) |
Restarts the Sensor and its functionality.
Definition at line 21 of file SI1143.cpp.
Generated on Wed Jul 13 2022 09:23:48 by 1.7.2