RTClib
Macros | Variables
RTClib.cpp File Reference
#include "RTClib.h"
#include <WProgram.h>

Macros

#define _I2C_WRITE   send
 Legacy I2C write.
 
#define _I2C_READ   receive
 legacy I2C read
 

Variables

const uint8_t daysInMonth [] PROGMEM
 

Variable Documentation

◆ PROGMEM

const uint8_t daysInMonth [] PROGMEM
Initial value:
= {31, 28, 31, 30, 31, 30,
31, 31, 30, 31, 30}

Number of days in each month, from January to November. December is not needed. Omitting it avoids an incompatibility with Paul Stoffregen's Time library. C.f. https://github.com/adafruit/RTClib/issues/114