ESPMegaPRO-v3-SDK/ESPMegaPRO-OS-SDK/lib/ESPMegaPRO/TimeStructure.hpp

19 lines
403 B
C++
Raw Normal View History

2023-12-29 16:43:12 +00:00
#pragma once
#include <stdint.h>
2023-12-31 18:56:49 +00:00
/**
* @brief The rtctime_t struct is a structure for storing the time.
*
* This structure is used by the ESPMegaPRO library to store the time.
*
* @warning This structure is not compatible with the Arduino Time library.
*/
2023-12-29 16:43:12 +00:00
struct rtctime_t {
uint8_t hours;
uint8_t minutes;
uint8_t seconds;
uint8_t day;
uint8_t month;
uint16_t year;
};