seanlano/WiLED

RunMode.cpp: get...() functions to be fleshed out

HowManyOliversAreThere opened this issue · 1 comments

Currently there exists a RunMode::getModeNormal() function for checking if the output mode is set to normal mode. It would be good to have equivalents of this for the other modes (blink, double-flash). It would also be good to have a generic getMode() function that could return the index for that mode (0 for normal, 1 for blink, 2 for double-flash).

Currently there exists no function for getting the blink mode. It would be good if there was a function for getting the currently assigned blink mode.

Agreed, there needs to be more get() functions.
How useful all of these would be remains to be seen, but for completeness they should exist, yes.