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();
-
- timestamp_t getTime();
- void setTime(timestamp_t &time);
-
- inline void setAlarm(uint16_t seconds) {
- setAlarm(getTime() + seconds);
- }
-
- void setAlarm(timestamp_t &time);
- }
|