]> oss.titaniummirror.com Git - rgblamp.git/blobdiff - tmr_defs.h
Update comments
[rgblamp.git] / tmr_defs.h
index 8c9be339ed022e7f59d2e8aafddef61d19f8d253..ba0b64bccbf892914e2a7893016317bbffe82a6a 100644 (file)
  * accordingly.
  */
 enum {
-  TMR_BTN_PB = 0,
-  TMR_BTN_RS,
-  TMR_BTN_PB_HELD,
-  TMR_FADE,
-  TMR_INCOLOR,
-  TMR_CANDLE,
+  TMR_BTN_PB = 0,    /* Pushbutton debounce */
+  TMR_BTN_RS,        /* Rocker switch debounce */
+  TMR_BTN_PB_HELD,   /* Time elapsed determines clicked vs held */
+  TMR_FADE,          /* Time between fade iterations */
+  TMR_INCOLOR,       /* Time a given color remains active (no fade) */
+  TMR_CANDLE,        /* Time between candle variations */
+
+  /* Time expired before a changed configuration is written.  In this way,
+   * several changes to the configuration within TMR_CFG time generate a
+   * single EEPROM write.
+   */
   TMR_CFG,
 
   TMR_COUNT