您好 pammyleong
怕溫度過高,是因讀了這篇文章:
https://forum.amebaiot.com/t/unfortunately-moving-on-from-amb82-mini/3790
網路搜尋到這段程式,但是無法執行,所以來提問
#include “Arduino.h”
void setup() {
Serial.begin(115200);
}
void loop() {
// 讀取內部溫度,單位為攝氏度
float tempC = rtw_get_chip_temp();
Serial.print(“晶片內部溫度: “);
Serial.print(tempC);
Serial.println(” °C”);
delay(1000); // 每秒讀取一次
}
Pammy via Realtek Ameba IOT Developers Forum (AMB82 RTL8722 RTL8195 RTL8710 RTL8720 BW16 Development board) - IOT / MCU Solutions 瑞昱開發者論壇 開發板 开發者论坛 开發板 <notifications@ameba.discoursemail.com>於 2025年10月9日 週四,下午8:08寫道: