Proj 324 Final

Fork of ELEC351_Group_T by Plymouth ELEC351 Group T

SERIAL.cpp

Committer:
chills
Date:
2018-01-03
Revision:
26:78f5e454e59f
Parent:
25:36699ed589ab
Child:
47:6d128e500875

File content as of revision 26:78f5e454e59f:

#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;
}