Elektronikprojekt Grupp 13 / Mbed OS test_fft_grp13

Dependencies:   mbed-dsp

Fork of mbed-os-example-blinky by Elektronikprojekt Grupp 13

Revision:
40:460b5132c390
Parent:
38:0eceb5feddc4
Child:
42:67bf737a923d
--- a/main.cpp	Wed Mar 29 13:46:40 2017 +0000
+++ b/main.cpp	Wed Mar 29 14:46:23 2017 +0000
@@ -24,6 +24,6 @@
 //Presuming the input value is temp as a nuber and humidity as procent
 double speedofsound(double temp, double hum){
     //Calculations done in Matlab
-    speed = 331.1190 + 0.6016*temp + 0.0126*hum;
+     double speed = 331.1190 + 0.6016*temp + 0.0126*hum;
     return speed;
 }
\ No newline at end of file