既然要使用兩個類別來更新共同的感測器數值(也就是 humidity 與 temperature ) ,我們便要宣告它們為全域變數: global temperature,humidity temperature = 25 您在 ...
確定! 回上一頁