Group PAG / Mbed OS PAG-CourseWork-NicksEdits

Dependencies:   LPS25H hts221

Fork of Coursework by Group PAG

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Clock.h Source File

Clock.h

00001 #ifndef Clock_H
00002 #define Clock_H
00003  
00004 #include "mbed.h"
00005 
00006 class Clock{
00007     //variables  //public so that Reading can read it
00008     public:
00009     int year;
00010     int month;
00011     int day;
00012     int hour;
00013     int minute;
00014     int second;
00015     
00016     Clock(int y, int mo, int d, int h,int mi,int s);
00017     Clock();
00018     
00019     void TickTock();
00020     void setClock(Clock *dt);
00021     
00022     };
00023 #endif