Humidistat
Arduino firmware for a humidistat (humidity controller)
|
#include <stdint.h>
Go to the source code of this file.
Functions | |
template<typename T > | |
void | advanceEnum (T &e, int8_t n=1) |
Cycle through (advance) an enum. | |
void advanceEnum | ( | T & | e, |
int8_t | n = 1 ) |
Cycle through (advance) an enum.
T | Enum type (should have _last as final element, equaling the last valid element) |
e | Enum instance |
n | Step (can be negative) |
Definition at line 11 of file advanceEnum.h.