Group PAG
/
PAG-CourseWork-NicksEdits
Minor fixes
Fork of Coursework by
Diff: Clock.h
- Revision:
- 37:1a621144e73f
diff -r bbc4b371cb75 -r 1a621144e73f Clock.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Clock.h Wed May 03 10:30:24 2017 +0000 @@ -0,0 +1,23 @@ +#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 \ No newline at end of file