Dependencies:   FastPWM GMD_template_lib mbed

Revision:
8:ad41522dde78
Parent:
7:9671d3ae163e
Child:
10:bf4b442a5449
diff -r 9671d3ae163e -r ad41522dde78 main.cpp
--- a/main.cpp	Wed Jul 13 09:02:41 2016 +0000
+++ b/main.cpp	Wed Jul 13 09:09:45 2016 +0000
@@ -19,7 +19,7 @@
 }
 
 int main(){
-    const float timeout_ms = 300;
+    const float timeout_ms = 300.0f;
     I2CSlave i2c(dp5, dp27);
     Timer timer;
     i2c.address(read_address());