文章链接
微信扫一扫分享
使用道具 举报
发表于 昨天 19:27
#include <Arduino.h> void setup() { Serial.begin(115200); // 等待串口连接 while (!Serial); // 打印 PSRAM 的剩余大小 Serial.printf("PSRAM free size: %d\n", heap_caps_get_free_size(MALLOC_CAP_SPIRAM)); } void loop() {}复制代码
本版积分规则 回复 回帖并转播 回帖后跳转到最后一页
© 2013-2025 Comsenz Inc. Powered by Discuz! X3.4 Licensed