       delay(1);
     }
   }
+#endif /* SOFT_SERIAL */
   return STATE_RELAY;
 }
 

#define DEBUG
#define CONSOLE_MESSAGE
#define ESP


#define TIMER_THRESHOLD 60
#define MAX_PASS_RETRY 3

#define LOGIN_PASSWD_FILE "pass.txt"
#define WIFI_SSID_FILE "ssid.txt"
#define WIFI_PASS_FILE "wifipass.txt"

#define SOFT_SERIAL_RX_PIN 16
#define SOFT_SERIAL_TX_PIN 4

/*
  状態遷移
    初期状態    STATE_START          0
