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 DecaWave by
Diff: DW1000/DW1000.cpp
- Revision:
- 47:b6120c152ad1
- Parent:
- 46:6398237672a0
- Child:
- 48:bf6c54dc69b3
diff -r 6398237672a0 -r b6120c152ad1 DW1000/DW1000.cpp --- a/DW1000/DW1000.cpp Tue Mar 10 12:11:13 2015 +0000 +++ b/DW1000/DW1000.cpp Thu Mar 19 12:54:28 2015 +0000 @@ -99,7 +99,7 @@ writeRegister(DW1000_TX_CAL, 0x00, &buffer[4], 1); readRegister(DW1000_TX_CAL, 0x03, &buffer[5], 2); // get the 8-Bit readings for Voltage and Temperature float Voltage = buffer[5] * 0.0057 + 2.3; - //float Temperature = buffer[6] * 1.13 - 113.0; // TODO: getTemperature was always ~35 degree with better formula/calibration see instance_common.c row 391 + //float Temperature = buffer[6] * 1.13 - 113.0; // TODO: getTemperature was always ~35 degree with better formula/calibration return Voltage; }