-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
timing will not change from home pages #45
Comments
What do you have a doubt about? |
oh sorry I didn't notice that This software is released under the MIT License. #if defined(ARDUINO_ARCH_ESP8266) static const char AUX_TIMEZONE[] PROGMEM = R"( typedef struct { static const Timezone_t TZ[] = { #if defined(ARDUINO_ARCH_ESP8266) AutoConnect Portal(Server); void rootPage() { "<p style="padding-top:15px;text-align:center">" AUTOCONNECT_LINK(COG_24) "" "" ""; static const char *wd[7] = { "Sun","Mon","Tue","Wed","Thr","Fri","Sat" }; struct tm *tm; time_t t; char dateTime[26]; t = time(NULL); void startPage() { for (uint8_t n = 0; n < sizeof(TZ) / sizeof(Timezone_t); n++) { // The /start page just constitutes timezone, void setup() { // Enable saved past credential by autoReconnect option, // Load aux. page Portal.join({ Timezone }); // Register aux. page // Behavior a root path of ESP8266WebServer. // Establish a connection with an autoReconnect option. void loop() { |
Simple.ino as an example has two assumptions. One is that the ESP module was able to connect to the Internet, and the other is to display the time by reloading the web page manually. It's not a real-time clock sketch application. |
This topic is not relevant to the improvement of the AutoConnect library but is maintained to clarify the |
how to take the timing from the computer or RTC? the home page timing keep remind as 1970/01/01(Thr) 00:04:25. seems it didn't get timing from the website .
The text was updated successfully, but these errors were encountered: