This program send an AT command to the HC05 module and shows the response into a terminal.

Dependencies:   mbed-src MODSERIAL

Notebook page HERE

Revision:
7:804c6a1f49ce
Parent:
5:73ac83c240ec
--- a/main.cpp	Tue Aug 12 16:19:19 2014 +0000
+++ b/main.cpp	Tue Aug 12 18:48:24 2014 +0000
@@ -59,10 +59,10 @@
 int main()
 {
    blue.baud(38400);
-   pc.baud(9600);
+   pc.baud(115200);
    
-   blue.attach(&rxBlueCallback, MODSERIAL::RxIrq);
-   pc.attach(&rxPcCallback, MODSERIAL::RxIrq);
+   blue.attach(&rxBlueCallback);
+   pc.attach(&rxPcCallback);
     
    pc.printf("AT Mode Start\r\n"); 
    int i = 0;