Plymouth ELEC351 Group T
/
ELEC351_Group_T
FINAL PROJECT isn't it
Fork of ELEC351 by
SERIAL.cpp
- Committer:
- thomasmorris
- Date:
- 2018-01-08
- Revision:
- 47:6d128e500875
- Parent:
- 26:78f5e454e59f
- Child:
- 48:244d6d81bb52
File content as of revision 47:6d128e500875:
#include "SERIAL.hpp" bool Decimal_Check(char Input[100]) { for(int x = 0; x < sizeof(Input); x++) { if(Input[x] == '.'){return true;} } return false; } int Decimal_Position(char Input[100]) { for(int x = 0; x < sizeof(Input); x++) { if(Input[x] == '.'){return x;} } return 0; } 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; }