SEND
Fork of Final351CW_FINAL by
Embed:
(wiki syntax)
Show/hide line numbers
stx.hpp
00001 /* ELEC351 COURSEWORK 2018 00002 DESIGNED USING MBED ONLINE COMPILER IMPORTED TO KEIL 00003 LIAM GRAZIER // DOUG TILLEY // ALEX BARON 00004 */ 00005 #ifndef __stx__ 00006 #define __stx__ 00007 #define SIG_SX 1 //thread signal for serial "SX" thread 00008 void welcomemsg(void);//function for displayign welcome msg on serial terminal 00009 void datain();//function for reading data in from the serial terminal 00010 void useseriel(); //function for using the data in and analysising content 00011 void readalldata(); //displays date, tim, temperature, presure, ligt 00012 void deletealldata(); //deletes all memory from th iternal memory 00013 void setdate(); //sets the day month and year 00014 void settime(); //sets the clock hours, minutes, seconds 00015 void setT(); //sets the sampling period to <T> seconds 00016 void stateon(); //turns ampling ON and OFF 00017 void stateoff(); //turns ampling ON and OFF 00018 void help(); //shows help display on serial termninal 00019 void loggingon(); //function for enable logging 00020 void loggingoff(); //function for disable logging 00021 void deleten();//function fordeletes the <n> records 00022 void readdata(); //function for read data code 00023 void printcommandlist();//function for printing command list to serial terminal 00024 #endif
Generated on Mon Jul 18 2022 05:40:54 by
1.7.2
