![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
programme de base lorawan mdot pour les ers4 iut de nice
Dependencies: Servo Cayenne-LPP
Diff: DummySensor.h
- Revision:
- 56:39847849d219
- Parent:
- 46:a124538e2891
--- a/DummySensor.h Tue Aug 20 15:01:49 2019 +0100 +++ b/DummySensor.h Wed Aug 21 07:01:49 2019 +0100 @@ -25,21 +25,21 @@ public: DS1820(uint32_t) { - value = 1.0f; + value = 1; }; bool begin() { return true; }; void startConversion() {}; - float read() + int32_t read() { - value += 1.1f; + value += 2; return value; } private: - float value; + int32_t value; };