test to establish how we can share the project on MBED
Dependencies: BME280 BMP280 ELEC350-Coursework-2017 TextLCD
Fork of ELEC350-CWTEMPLATE-2017 by
serial_protocol/serial_protocol.hpp@13:aa200749dba6, 2017-12-15 (annotated)
- Committer:
- bdarling
- Date:
- Fri Dec 15 16:13:06 2017 +0000
- Revision:
- 13:aa200749dba6
- Parent:
- 6:c7220f7c1ae0
Modified serial_protocol.cpp and hpp. Added several global variables. Variables are now only changed if value is valid.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bdarling | 6:c7220f7c1ae0 | 1 | #include "mbed.h" |
bdarling | 6:c7220f7c1ae0 | 2 | |
bdarling | 13:aa200749dba6 | 3 | //many global variables |
bdarling | 13:aa200749dba6 | 4 | extern int readSamples; |
bdarling | 13:aa200749dba6 | 5 | extern int deleteSamples; |
bdarling | 13:aa200749dba6 | 6 | extern float sampleRate; |
bdarling | 13:aa200749dba6 | 7 | extern char dayStr[3]; |
bdarling | 13:aa200749dba6 | 8 | extern char monthStr[3]; |
bdarling | 13:aa200749dba6 | 9 | extern char yearStr[5]; |
bdarling | 13:aa200749dba6 | 10 | extern char hourStr[3]; |
bdarling | 13:aa200749dba6 | 11 | extern char minuteStr[3]; |
bdarling | 13:aa200749dba6 | 12 | extern char secondStr[3]; |
bdarling | 6:c7220f7c1ae0 | 13 | |
bdarling | 6:c7220f7c1ae0 | 14 | void getData(); |
bdarling | 6:c7220f7c1ae0 | 15 | void readSerial(); |