You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 regels
324 B

  1. #pragma once
  2. #include "Time2.h"
  3. #include "Hardware.h"
  4. namespace rtc {
  5. void setup();
  6. float getTemperature();
  7. timestamp_t getTime();
  8. void getTime(tmElements_t &time);
  9. void setTime(timestamp_t time);
  10. void setTime(const tmElements_t &time);
  11. void setAlarm(uint16_t seconds);
  12. void setAlarm(const tmElements_t &time);
  13. }