![](/media/cache/profiles/acab0116c354964a558e65bdd07ff047.jpg.50x50_q85.jpg)
test
Dependencies: CheckRTC LPS25H hts221
Fork of ELEC350-extended-referral2 by
Diff: main.cpp
- Revision:
- 38:10aadcc9a2dd
- Parent:
- 37:bfe26c8c0793
- Child:
- 39:504f5dc30a33
diff -r bfe26c8c0793 -r 10aadcc9a2dd main.cpp --- a/main.cpp Wed May 03 09:29:32 2017 +0000 +++ b/main.cpp Fri Sep 29 12:21:33 2017 +0000 @@ -20,10 +20,11 @@ { humidity.init(); humidity.calib(); - printf("SOFT253 simple Temperature Humidity and Pressure Sensor Monitor\n\r"); - printf("Using the X-NUCLEO-IKS01A1 shield and MBED Libraries\n\r"); - //printf("%#x\n\r",barometer.read_id()); - + printf("ELEC350/351 Simple Temperature Humidity and Pressure Sensor Monitor\n\r"); + printf("Using the X-NUCLEO-IKS01A1 shield and mbed-os Libraries\n\r"); + printf("Press A to take a measurement\n\r"); + + aA while(1) { cmd=NULL; @@ -31,6 +32,7 @@ if(cmd=='?'){ printf("SOFT253 simple Temperature Humidity and Pressure Sensor Monitor\n\r"); printf("Using the X-NUCLEO-IKS01A1 shield and MBED Libraries\n\r"); + } if(cmd=='A'){ humidity.ReadTempHumi(&tempCelsius, &humi);