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.
Dependencies: Peripherals Buffer_lib_v2 SD_Lib_EffedUP_ERP Time_Lib_v2 Year3_Version5 BMP280 Network_Lib TextLCD BME280
Revision 16:17e8f7d4241a, committed 2019-01-04
- Comitter:
- cgogay
- Date:
- Fri Jan 04 11:30:18 2019 +0000
- Parent:
- 15:00422efe0550
- Child:
- 17:a3cc9013316c
- Commit message:
- sensor thread made higher priority, added sensor mutex lock to network lib
Changed in this revision
| Network_Lib.lib | Show annotated file Show diff for this revision Revisions of this file |
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/Network_Lib.lib Thu Jan 03 19:25:04 2019 +0000 +++ b/Network_Lib.lib Fri Jan 04 11:30:18 2019 +0000 @@ -1,1 +1,1 @@ -https://os.mbed.com/teams/ELEC351/code/Network_Lib/#91c4fe69ec2a +https://os.mbed.com/teams/ELEC351/code/Network_Lib/#f49bf024d3d3
--- a/main.cpp Thu Jan 03 19:25:04 2019 +0000 +++ b/main.cpp Fri Jan 04 11:30:18 2019 +0000 @@ -21,10 +21,10 @@ int setting; int t; -Thread t1; -Thread t2; -Thread t3; -Thread t4; +Thread t1(osPriorityRealtime); //sensor thread is highest priority +Thread t2(osPriorityNormal); +Thread t3(osPriorityNormal); +Thread t4(osPriorityNormal); //LDR sensor