Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (12 sloc) 0.319 kB
class DS1307 {
public:
DS1307();
void read();
void set();
unsigned char second_, minute_, hour_, dayOfWeek_, dayOfMonth_, month_, year_;
private:
bool isSetUp_;
unsigned char bcdToDecimal(unsigned char x);
unsigned char decimalToBCD(unsigned char x);
void setup();
};
Jump to Line
Something went wrong with that request. Please try again.