Liam Grazier
/
Final351CW_FINAL
SEND
Fork of 0NicksCoursework_copywithserialtime by
serialtx/stx.hpp
- Committer:
- liam_grazier
- Date:
- 2018-01-09
- Revision:
- 10:098c2fa0a1a6
- Parent:
- 8:582ac4c5a524
File content as of revision 10:098c2fa0a1a6:
/* ELEC351 COURSEWORK 2018 DESIGNED USING MBED ONLINE COMPILER IMPORTED TO KEIL LIAM GRAZIER // DOUG TILLEY // ALEX BARON */ #ifndef __stx__ #define __stx__ #define SIG_SX 1 //thread signal for serial "SX" thread void welcomemsg(void);//function for displayign welcome msg on serial terminal void datain();//function for reading data in from the serial terminal void useseriel(); //function for using the data in and analysising content void readalldata(); //displays date, tim, temperature, presure, ligt void deletealldata(); //deletes all memory from th iternal memory void setdate(); //sets the day month and year void settime(); //sets the clock hours, minutes, seconds void setT(); //sets the sampling period to <T> seconds void stateon(); //turns ampling ON and OFF void stateoff(); //turns ampling ON and OFF void help(); //shows help display on serial termninal void loggingon(); //function for enable logging void loggingoff(); //function for disable logging void deleten();//function fordeletes the <n> records void readdata(); //function for read data code void printcommandlist();//function for printing command list to serial terminal #endif