Danilo Bustamante
/
GSM_FRDM_K64F
for joseph
Diff: main.cpp
- Revision:
- 2:733ff42bdbd8
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Wed Feb 18 01:30:44 2015 +0000 @@ -0,0 +1,21 @@ +#include "mbed.h" +#include "initialize.h" + +extern Serial pc; +extern Serial gsm; +extern buffer[]; + +char comand[100]; + +int main() +{ + initializeGSM(); + while(1){ + pc.printf("Comand line activated\n\r"); + pc.scanf("%s",&comand); + gsm.puts(comand); + print_registers(); + } + return 0; +} +