modified: src/esp_info.cpp
modified: src/esp_info.h modified: src/web_server.cpp
This commit is contained in:
@@ -5,14 +5,22 @@
|
||||
#pragma once
|
||||
#include <Arduino.h>
|
||||
|
||||
// Utility functions
|
||||
void prettyPrintBytes(size_t bytes);
|
||||
void printESPInfo();
|
||||
String getESPInfoHTML();
|
||||
float getFlashUsagePercent();
|
||||
size_t getProgramFlashSize(); // Add this
|
||||
size_t getAvailableFlashSize(); // Add this
|
||||
String getRAMInfoHTML();
|
||||
float readInternalTemperature(); // Add this to esp_info.h
|
||||
String formatBytes(size_t bytes);
|
||||
|
||||
// Individual info getters
|
||||
String getCPUInfo();
|
||||
String getTemperatureInfo();
|
||||
String getRAMInfo();
|
||||
String getPSRAMInfo();
|
||||
String getFlashInfo();
|
||||
|
||||
// HTML generators
|
||||
String getESPInfoHTML();
|
||||
String getRAMInfoHTML();
|
||||
|
||||
// Debug print
|
||||
void printESPInfo();
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user