RossalaTTM5

Clock.h

Committer:
RossalaTTM
Date:
2017-05-03
Revision:
0:e55bea03756a

File content as of revision 0:e55bea03756a:

#ifndef Clock_H
#define Clock_H
 
#include "mbed.h"

class Clock{
    //variables  //public so that Reading can read it
    public:
    int year;
    int month;
    int day;
    int hour;
    int minute;
    int second;
    
    Clock(int y, int mo, int d, int h,int mi,int s);
    Clock();
    
    void TickTock();
    void setClock(Clock *dt);
    
    };
#endif