Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of 0NicksCoursework_copywithserialtime by
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 Sun Jul 17 2022 05:50:34 by
 1.7.2
 1.7.2 
    