SafeDetect
/
LoRaWAN_XDOT
basic loraWAN sending, some settings done-- no keys or any of that though
Diff: DummySensor.h
- Revision:
- 26:f07f5febf97f
- Parent:
- 0:7037ed05f54f
- Child:
- 46:a124538e2891
diff -r 0f75546d3f3f -r f07f5febf97f DummySensor.h --- a/DummySensor.h Tue Jun 19 14:15:24 2018 +0100 +++ b/DummySensor.h Thu Jun 28 12:45:20 2018 +0100 @@ -24,11 +24,11 @@ class DS1820 { public: - DS1820(uint32_t) { value = 1.0; }; + DS1820(uint32_t) { value = 1.0f; }; bool begin() { return true; }; void startConversion() {}; float read() { - value += 1.1; + value += 1.1f; return value; }