25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

19 lines
299 B

  1. #ifndef TIME_SYSTEM_H
  2. #define TIME_SYSTEM_H
  3. #include <Arduino.h>
  4. #include <TimeLib.h>
  5. /*
  6. ** Simple helper functions to change and get time
  7. */
  8. namespace TimeSystem
  9. {
  10. void SetTime(tmElements_t t);
  11. void SetTime(int hour, int minute);
  12. tmElements_t GetTime();
  13. void ResetToFactoryTime();
  14. };
  15. #endif