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.
Diff: Calibration/calibration.cpp
- Revision:
- 57:57a108e15b52
- Parent:
- 55:5afc2865ef7f
--- a/Calibration/calibration.cpp Thu Feb 25 22:51:02 2021 -0800 +++ b/Calibration/calibration.cpp Sat Feb 27 17:50:10 2021 -0800 @@ -228,7 +228,7 @@ } lut[ind] = (int) ((error_filt[i*NPP] - mean)*(float)(ps->GetCPR())/(2.0f*PI)); printf("%d %d %d \n\r", i, ind, lut[ind]); - ThisThread::sleep_for(1ms); + wait_us(1000); } ps->WriteLUT(lut); // write lookup table to position sensor object