yet another 18B20 Temperature sensor. variable number of sensors working in parasite mode, serial 16x2 display with diagnostic output and post to a rest web service

Dependencies:   EthernetInterface HTTPClient NTPClient mbed-rtos mbed

local_time.h

Committer:
wkinkeldei
Date:
2013-01-03
Revision:
1:9e88b2508768

File content as of revision 1:9e88b2508768:

#ifndef LOCALTIME_H
#define LOCALTIME_H

#include "mbed.h"

class LocalTime {
public:
    LocalTime();
    
    struct tm *tm();

private:
    time_t last_sunday(int year, int month);
};

#endif