19 lines
389 B
C
19 lines
389 B
C
|
|
// esp_info.h
|
||
|
|
#ifndef ESP_INFO_H
|
||
|
|
#define ESP_INFO_H
|
||
|
|
|
||
|
|
#pragma once
|
||
|
|
#include <Arduino.h>
|
||
|
|
|
||
|
|
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
|
||
|
|
|
||
|
|
|
||
|
|
#endif
|