ja-jp_commands:reference:irtcgettemperature
文書の過去の版を表示しています。
IrtcGetTemperature()
コマンド
| コマンド | 引数 | 戻り値 | 動作 |
|---|---|---|---|
IrtcGetTemperature(temperature) | float& temperature | bool | RTCの内部温度を返します。 |
使用例
float temperature; if (IrtcGetTemperature(temperature)) { Serial.println(temperature, 2); }
注意事項
各装置は該当するBeginコマンドを先に実行してください。I²Cアドレスとピンの共有有無を確認し、bool戻り値がfalseの場合は配線と電源を点検してください。
ja-jp_commands/reference/irtcgettemperature.1788785590.txt.gz · 最終更新: by 127.0.0.1
