25개 이상의 토픽을 선택하실 수 없습니다.
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- #pragma once
-
- #include "Time2.h"
- #include "Hardware.h"
-
- namespace rtc {
- inline void powerOn() {
- hardware::i2c::rtcPowerOn();
- }
-
- inline void powerOff() {
- hardware::i2c::rtcPowerOff();
- }
-
- void setup();
-
- void getTime(tmElements_t &time);
- void setTime(tmElements_t &time);
-
- void setAlarm(uint16_t seconds);
- void setAlarm(tmElements_t &time);
- }
|