Added EventSource for webUI updates, completed more features
This commit is contained in:
parent
91fd921e2e
commit
280764a2fa
16 changed files with 241 additions and 78 deletions
|
@ -4,3 +4,9 @@ int modulo(int x, int N)
|
|||
{
|
||||
return (x % N + N) % N;
|
||||
}
|
||||
|
||||
String getMyHostname() {
|
||||
byte mac[6];
|
||||
WiFi.macAddress(mac);
|
||||
return "btclock" + String(mac[4], 16) = String(mac[5], 16);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue