| 
    Open Storm
    
   | 
 
Declares miscellaneous utilites. More...
#include <device.h>

Go to the source code of this file.
Functions | |
| float32 | read_vbat () | 
| Reads the current battery voltage.  More... | |
| uint8 | zip_vbat (char *labels[], float readings[], uint8 *array_ix, uint8 max_size) | 
Inserts current value of v_bat into readings array.  More... | |
| uint8 | blink_LED (uint8 n_blinks) | 
| Blinks the onboard LED.  More... | |
| void | init_pins () | 
| Initializes pins by writing them low.  More... | |
Declares miscellaneous utilites.
| uint8 blink_LED | ( | uint8 | n_blinks | ) | 
Blinks the onboard LED.

| void init_pins | ( | ) | 
Initializes pins by writing them low.
| float32 read_vbat | ( | ) | 
Reads the current battery voltage.

| uint8 zip_vbat | ( | char * | labels[], | 
| float | readings[], | ||
| uint8 * | array_ix, | ||
| uint8 | max_size | ||
| ) | 
Inserts current value of v_bat into readings array. 
| labels | Array to store labels corresponding to each trigger result | 
| readings | Array to store trigger results 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