Proj 324 Final

Fork of ELEC351_Group_T by Plymouth ELEC351 Group T

SERIAL.cpp

Committer:
thomasmorris
Date:
2018-01-09
Revision:
48:244d6d81bb52
Parent:
47:6d128e500875
Child:
52:99915f5240b2

File content as of revision 48:244d6d81bb52:

#include "SERIAL.hpp"
int Log_Value = 0;
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;    
}