Liam Grazier
/
WORKINGCOURSEWORK
ladsidfs
Fork of 0NicksCoursework_copywithserialtime by
serialtx/stx.hpp@8:582ac4c5a524, 2018-01-09 (annotated)
- Committer:
- liam_grazier
- Date:
- Tue Jan 09 05:43:43 2018 +0000
- Revision:
- 8:582ac4c5a524
dfshjsdfjhdf;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
liam_grazier | 8:582ac4c5a524 | 1 | #ifndef __stx__ |
liam_grazier | 8:582ac4c5a524 | 2 | #define __stx__ |
liam_grazier | 8:582ac4c5a524 | 3 | #define SIG_SX 1 |
liam_grazier | 8:582ac4c5a524 | 4 | void welcomemsg(void); |
liam_grazier | 8:582ac4c5a524 | 5 | void datain(); |
liam_grazier | 8:582ac4c5a524 | 6 | void useseriel(); |
liam_grazier | 8:582ac4c5a524 | 7 | void readalldata(); //displays date, tim, temperature, presure, ligt |
liam_grazier | 8:582ac4c5a524 | 8 | void deletealldata(); //deletes all memory from th iternal memory |
liam_grazier | 8:582ac4c5a524 | 9 | void setdate(); //sets the day month and year |
liam_grazier | 8:582ac4c5a524 | 10 | void settime(); //sets the clock hours, minutes, seconds |
liam_grazier | 8:582ac4c5a524 | 11 | void setT(); //sets the sampling period to <T> seconds |
liam_grazier | 8:582ac4c5a524 | 12 | void stateon(); //turns ampling ON and OFF |
liam_grazier | 8:582ac4c5a524 | 13 | void stateoff(); //turns ampling ON and OFF |
liam_grazier | 8:582ac4c5a524 | 14 | void help(); |
liam_grazier | 8:582ac4c5a524 | 15 | void loggingon(); |
liam_grazier | 8:582ac4c5a524 | 16 | void loggingoff(); //turns diagnostic logging ON and OFF |
liam_grazier | 8:582ac4c5a524 | 17 | void deleten();//deletes the <n> records |
liam_grazier | 8:582ac4c5a524 | 18 | void readdata(); |
liam_grazier | 8:582ac4c5a524 | 19 | void printcommandlist(); |
liam_grazier | 8:582ac4c5a524 | 20 | #endif |