supprimer les warnings
Dependencies: mbed projet_embarque WakeUp SigfoxToiture DHT DS1820
Diff: main.cpp
- Revision:
- 1:61623b5d178c
- Parent:
- 0:8fc2f1479292
- Child:
- 2:17db0f2dea0b
--- a/main.cpp Tue Oct 01 13:23:57 2019 +0000 +++ b/main.cpp Tue Oct 01 13:29:07 2019 +0000 @@ -84,7 +84,7 @@ ReadLumi(); wait(1); printf("R:%d, G:%d, B:%d\n\r", r, g, b); - sigfox.send((s16)(Temp_Air*10.0),(u16)(Humi_Air*10.0),(s16)(Temp_Sol*10.0),(u16)(Humi_Sol*10.0), + sigfox.send((s16)(Temp_Air*10.0f),(u16)(Humi_Air*10.0f),(s16)(Temp_Sol*10.0f),(u16)(Humi_Sol*10.0f), (u8)Lumiere,(u8)r,(u8)g,(u8)b); wait(120); }