9void SystemHz::tick() { tick_count_++; }
11void SystemHz::update() {
13 if (elapsed_millis_ == 0) {
17 output = (tick_count_ * 1000) / elapsed_millis_;
28 ReactESP::app->onTick([
this]() { this->tick(); });
29 ReactESP::app->onRepeat(1000, [
this]() { this->update(); });
32void FreeMem::update() { this->
emit(
ESP.getFreeHeap()); }
35 ReactESP::app->onRepeat(1000, [
this]() { this->update(); });
38void Uptime::update() { this->
emit(
millis() / 1000.); }
41 ReactESP::app->onRepeat(1000, [
this]() { this->update(); });
44void IPAddrDev::update() { this->
emit(
WiFi.localIP().toString()); }
47 ReactESP::app->onRepeat(10000, [
this]() { this->update(); });
51 ReactESP::app->onRepeat(3000, [
this]() { this->update(); });
54void WiFiSignal::update() { this->
emit(
WiFi.RSSI()); }
void start() override final
void start() override final
void start() override final
void start() override final
void start() override final