Test Code for TEA5767 radio module

Dependencies:   MODSERIAL TEA5767 mbed

Files at this revision

API Documentation at this revision

Comitter:
edodm85
Date:
Thu Oct 03 19:33:33 2013 +0000
Parent:
0:de2102ba3121
Child:
2:cf890ba22614
Commit message:
Changed the time in autosearch function

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Thu Oct 03 19:18:22 2013 +0000
+++ b/main.cpp	Thu Oct 03 19:33:33 2013 +0000
@@ -87,7 +87,7 @@
                 freq_av = 108;
             }
             radio.SearchUp(freq_av+i);
-            wait_ms(300);
+            wait_ms(700);
             pc.printf("signal: %2.0d", radio.SignalLevel());
             pc.printf("freq: %000.2f ", radio.FreqCurrent());
         }else
@@ -99,7 +99,7 @@
                 freq_av = 87.5;
             }
             radio.SearchUp(freq_av-i);
-            wait_ms(300);
+            wait_ms(700);
             pc.printf("signal: %2.0d", radio.SignalLevel());
             pc.printf("freq: %000.2f ", radio.FreqCurrent());                      
         }else