|
@@ -36,7 +36,10 @@ const table_state_t stateTable[] = {
|
|
|
{stShowWDay, evBTN1Pressed, stShowDM, showDayMon, NULL},
|
|
|
{stShowDM, evBTN1Pressed, stShowYear, showYear, NULL},
|
|
|
{stShowYear, evBTN1Pressed, stShowTime, showTime, NULL},
|
|
|
+ {stShowTime, evBTN2Pressed, stShowMMSS, showMMSS, NULL},
|
|
|
+ {stShowMMSS, evBTN2Pressed, stShowTime, showTime, NULL},
|
|
|
{stShowTime, evBTN4Pressed, stShowSensorData, showSensorData, NULL},
|
|
|
+ {stShowSensorData, evBTN4Pressed, stShowTime, showTime, NULL},
|
|
|
|
|
|
/* display wdt */
|
|
|
{stShowWDay, evDisplayWDT, stShowTime, showTime, NULL},
|
|
@@ -44,21 +47,20 @@ const table_state_t stateTable[] = {
|
|
|
{stShowMDay, evDisplayWDT, stShowTime, showTime, NULL},
|
|
|
{stShowMon, evDisplayWDT, stShowTime, showTime, NULL},
|
|
|
{stShowYear, evDisplayWDT, stShowTime, showTime, NULL},
|
|
|
- {stShowBright, evDisplayWDT, stShowTime, showTime, NULL},
|
|
|
+ //{stShowBright, evDisplayWDT, stShowTime, showTime, NULL},
|
|
|
{stShowHumidity, evDisplayWDT, stShowTime, showTime, NULL},
|
|
|
{stShowTemperature, evDisplayWDT, stShowTime, showTime, NULL},
|
|
|
{stShowPressure, evDisplayWDT, stShowTime, showTime, NULL},
|
|
|
|
|
|
/* refresh output */
|
|
|
{stShowTime, evNewSecond, stNoChange, showTime, NULL},
|
|
|
+ {stShowMMSS, evNewSecond, stNoChange, showMMSS, NULL},
|
|
|
{stShowWDay, evRefreshCal, stNoChange, showWD, NULL},
|
|
|
{stShowDM, evRefreshCal, stNoChange, showDayMon, NULL},
|
|
|
{stShowMDay, evRefreshCal, stNoChange, showDay, NULL},
|
|
|
{stShowMon, evRefreshCal, stNoChange, showMonth, NULL},
|
|
|
{stShowYear, evRefreshCal, stNoChange, showYear, NULL},
|
|
|
-
|
|
|
- #ifdef BLAH_BLAH_BLAH
|
|
|
- {stShowYear, evBTN1Pressed, stShowBright, showBright, NULL},
|
|
|
+// {stShowYear, evBTN1Pressed, stShowBright, showBright, NULL},
|
|
|
{stShowBright, evBTN1Pressed, stShowTime, showTime, NULL},
|
|
|
|
|
|
/* set time */
|
|
@@ -79,6 +81,7 @@ const table_state_t stateTable[] = {
|
|
|
{stSetMM, evDisplayWDT, stShowTime, showTime, NULL},
|
|
|
|
|
|
/* set calendar */
|
|
|
+/*
|
|
|
{stShowWDM, evBTN1Holded, stSetWDay, setDateBegin, setWDayBegin},
|
|
|
{stSetWDay, evBTN1Holded, stShowWDM, setDateEnd, showWDM},
|
|
|
{stSetMDay, evBTN1Holded, stShowWDM, setDateEnd, showWDM},
|
|
@@ -102,7 +105,7 @@ const table_state_t stateTable[] = {
|
|
|
{stSetMDay, evDisplayWDT, stShowTime, showTime, NULL},
|
|
|
{stSetMon, evDisplayWDT, stShowTime, showTime, NULL},
|
|
|
{stSetYear, evDisplayWDT, stShowTime, showTime, NULL},
|
|
|
- /*
|
|
|
+
|
|
|
{stShowWDay, evBTN3Pressed, stNoChange, incWDay, showWDM},
|
|
|
{stShowMDay, evBTN3Pressed, stNoChange, incMDay, showWDM},
|
|
|
{stShowMon, evBTN3Pressed, stNoChange, incMonth, showWDM},
|
|
@@ -111,11 +114,10 @@ const table_state_t stateTable[] = {
|
|
|
{stShowMDay, evBTN2Pressed, stNoChange, decMDay, showWDM},
|
|
|
{stShowMon, evBTN2Pressed, stNoChange, decMonth, showWDM},
|
|
|
{stShowYear, evBTN2Pressed, stNoChange, decYear, showYear},
|
|
|
- */
|
|
|
+*/
|
|
|
/* set bright */
|
|
|
- {stShowBright, evBTN3Pressed, stNoChange, incBright, showBright},
|
|
|
- {stShowBright, evBTN2Pressed, stNoChange, decBright, showBright},
|
|
|
- #endif // BLAH_BLAH_BLAH
|
|
|
+// {stShowBright, evBTN3Pressed, stNoChange, incBright, showBright},
|
|
|
+// {stShowBright, evBTN2Pressed, stNoChange, decBright, showBright},
|
|
|
/* mandatory empty table row */
|
|
|
{stNoChange, eventNull, stNoChange, EmptyFunc, EmptyFunc}
|
|
|
};
|