Open Storm
optical_rain.h
Go to the documentation of this file.
1 
8 #ifndef OPTICAL_RAIN_H
9 #define OPTICAL_RAIN_H
10 #include <project.h>
11 
17 void optical_rain_start();
18 
24 void optical_rain_stop();
25 
32 
39 
50 uint8 zip_optical_rain(char *labels[], float readings[], uint8 *array_ix, uint8 max_size);
51 
52 #endif
53 /* [] END OF FILE */
uint8 optical_rain_get_count()
Gets the current count of the optical rain sensor counter.
Definition: optical_rain.c:20
void optical_rain_start()
Starts the optical rain sensor UART.
Definition: optical_rain.c:24
void optical_rain_stop()
Stops the optical rain sensor UART.
Definition: optical_rain.c:30
void optical_rain_reset_count()
Resets the counter for the optical rain sensor.
Definition: optical_rain.c:35
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.
Definition: optical_rain.c:39