|
Open Storm
|
Declares functions for hydreon optical rain sensor. More...
#include <project.h>

Go to the source code of this file.
Functions | |
| void | optical_rain_start () |
| Starts the optical rain sensor UART. More... | |
| void | optical_rain_stop () |
| Stops the optical rain sensor UART. More... | |
| void | optical_rain_reset_count () |
| Resets the counter for the optical rain sensor. More... | |
| uint8 | optical_rain_get_count () |
| Gets the current count of the optical rain sensor counter. More... | |
| uint8 | zip_optical_rain (char *labels[], float readings[], uint8 *array_ix, uint8 max_size) |
| Inserts current values of optical rain sensor counter into labels and readings arrays. More... | |
Declares functions for hydreon optical rain sensor.
| uint8 optical_rain_get_count | ( | ) |
Gets the current count of the optical rain sensor counter.
count of optical rain sensor counter 
| void optical_rain_reset_count | ( | ) |
Resets the counter for the optical rain sensor.

| void optical_rain_start | ( | ) |
Starts the optical rain sensor UART.


| void optical_rain_stop | ( | ) |
Stops the optical rain sensor UART.

| uint8 zip_optical_rain | ( | char * | labels[], |
| float | readings[], | ||
| uint8 * | array_ix, | ||
| uint8 | max_size | ||
| ) |
Inserts current values of optical rain sensor counter into labels and readings arrays.
| labels | Array to store labels corresponding to each sensor reading |
| readings | Array to store sensor readings as floating point values |
| array_ix | Array index to label and readings |
| max_size | Maximum size of label and reading arrays (number of entries) |


1.8.11