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 SOFT253_Template_Weather_OS_54-official by
Revision 38:10aadcc9a2dd, committed 2017-09-29
- Comitter:
- noutram
- Date:
- Fri Sep 29 12:21:33 2017 +0000
- Parent:
- 37:bfe26c8c0793
- Commit message:
- ELEC350 Referral u
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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);