![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Proj 324 Final
Fork of ELEC351_Group_T by
TIME.hpp
- Committer:
- thomasmorris
- Date:
- 2018-01-06
- Revision:
- 31:4a88bf97b53e
- Parent:
- 30:4cde05cc7c4f
- Child:
- 33:3b5096f0126a
File content as of revision 31:4a88bf97b53e:
#ifndef _TIME_HPP_ //Known as header guards #define _TIME_HPP_ #include "mbed.h" #include "rtos.h" #include <string> #include <iostream> #include <sstream> #define Days_In_Month 30.436875 #define second 1 #define minute 60 #define hour 3600 #define day 86400 #define week 604800 #define month 2629743 #define year 31556926 int get_current_time(); void Add_Second(); void Subtract_Second(); void Add_Minute(); void Subtract_Minute(); void Add_Hour(); void Subtract_Hour(); void Add_Day(); void Subtract_Day(); void Add_Month(); void Subtract_Month(); void Add_Year(); void Subtract_Year(); int LCD_Time_Get(string Unit); #endif