BirdNet-goMikrofon/Arduino-audio-tools-main/arduino-audio-tools-main/examples/examples-custom-boards/esp32s3-mic-cam/psram/psram.ino

20 lines
373 B
Arduino
Raw Normal View History

2026-09-26 01:20:55 +02:00
/// set
/// - USB CDC on Boot: enabled
/// - PSRAM: QSPI RAM
#include <Arduino.h>
void setup() {
Serial.begin(115200);
Serial.printf("Total heap: %d\n", ESP.getHeapSize());
Serial.printf("Free heap: %d\n", ESP.getFreeHeap());
Serial.printf("Total PSRAM: %d\n", ESP.getPsramSize());
Serial.printf("Free PSRAM: %d\n", ESP.getFreePsram());
}
void loop() {
}