Plymouth ELEC351 Group T
/
ELEC351_Group_T
FINAL PROJECT isn't it
Fork of ELEC351 by
Diff: SERIAL.cpp
- Revision:
- 25:36699ed589ab
- Child:
- 26:78f5e454e59f
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/SERIAL.cpp Mon Jan 01 20:14:19 2018 +0000 @@ -0,0 +1,43 @@ +#include "SERIAL.hpp" + + +void DELETE_ALL() +{ + +} +void READ_n() +{ + +} +void DELETE_n() +{ + +} +float SETDATE() +{ + float Time; + cout << "Please enter the Time in Seconds:" << endl; + cin >> Time; // Needs input checking + return Time; +} +float SETT()//Set the Sampling Rate +{ + float Sampling_Time; + cout << "Please enter the sampling rate in Seconds:" << endl; + cin >> Sampling_Time; // Needs input checking + return Sampling_Time; +} +void STATE() +{ + +} +void LOGGING() +{ + +} +void HELP() +{ + //Mutex This +cout << "Avalible Commands are: "<< endl; +cout << "READ ALL , DELETE ALL READ<n> ,DELETE<n> , SETDATE<dd> <mm> <yyyy> , SETTIME <hh> <mm> <ss>, SETT <T> , STATE <x>, LOGGING <x>, HELP"<< endl; +} \ No newline at end of file