Open digitongithub opened 1 year ago
Check if you have installed all the necessary libraries. Both codes are tested. There should not be any Compilation issues
Thanx for fast answer. Yes, all the librarys are installed and latest version. I tried with nodemcu and wemos d1. Could that be the problem? A other program with teh same librarys working good.
Okay, no it should work with nodemcu and wemos d1. Can you check which line is highlighted with the error?
Second = second(unix_epoch); // get seconds (do you have also a sketch?)
I have "deleted": // Second = second(unix_epoch); // get seconds // Minute = minute(unix_epoch); // get minutes // Hour = hour(unix_epoch); // get hours
// if (TIME_FORMAT == 12) { // if (Hour >= 13) { // Hour = Hour - 12; // } // if (Hour == 00) { // Hour = 12; // } // else // Hour = Hour; // } // else if (TIME_FORMAT == 24) { // Hour = Hour; // }
And the time is working. How i connect the neopixels?
Thanx
Compilation error: 'second' was not declared in this scope; did you mean 'Second'?