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.
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 Tue Jul 12 2022 20:10:02 by
1.7.2
