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: LinkNod_TemperatureAdvertising
Dependents: LinkNode_Temperatur LinkNode_TemperatureAdvertising_22
Fork of Sensors by
Diff: Sensors.cpp
- Revision:
- 4:ee98296289d0
- Parent:
- 3:9125dafacc63
- Child:
- 5:912a1f021b8d
diff -r 9125dafacc63 -r ee98296289d0 Sensors.cpp
--- a/Sensors.cpp Mon Feb 22 02:59:07 2016 +0000
+++ b/Sensors.cpp Mon Feb 22 08:55:19 2016 +0000
@@ -1,12 +1,12 @@
#include "Sensors.h"
Ticker ticker1;
-int64_t p_temp;
-int64_t data_1;
+uint64_t p_temp;
+uint64_t data_1;
void add_data(void)
{
- data_1 += 100;
+ data_1 =0x123456789abcdef ;
}
Sensors::tmpSensorValue_t Sensors::get()
