commands:reference:irtcgettemperature
문서의 이전 판입니다!
IrtcGetTemperature()
명령어
| 명령어 | 인수 | 반환값 | 동작 |
|---|---|---|---|
IrtcGetTemperature(temperature) | float& temperature | bool | RTC 내부 온도를 반환합니다. |
예제
float temperature; if (IrtcGetTemperature(temperature)) { Serial.println(temperature, 2); }
주의사항
각 장치는 해당 Begin 명령어를 먼저 실행하십시오. I²C 주소와 핀 공유 여부를 확인하고, bool 반환값이 false이면 배선과 전원을 점검하십시오.
commands/reference/irtcgettemperature.1788260661.txt.gz · 마지막으로 수정됨: 저자 127.0.0.1
