Example program demonstrating sending and reading SMS messages from the cellular modem using the MTSAS library.
Diff: main.cpp
- Revision:
- 5:597d5a5e9d24
- Parent:
- 4:ad889da9578c
- Child:
- 7:1ac5be54eb3b
--- a/main.cpp Tue Aug 12 21:49:38 2014 +0000 +++ b/main.cpp Mon Mar 16 21:37:11 2015 +0000 @@ -27,6 +27,14 @@ */ MTSSerialFlowControl* io = new MTSSerialFlowControl(D8, D2, D3, D6); + /** Dragonfly + * To configure the serial pins for the Dragonfly board, use: + * RADIO_TX = pin PC_7, RADIO_RX = pin PC_6 + * RADIO_RTS = pin PB_10,RADIO_CTS = pin PB_12 + * Uncomment the following lines to use the Dragonfly board + */ + //MTSSerialFlowControl* io = new MTSSerialFlowControl(PC_7, PC_6, PB_10, PB_12); + /** Freescale KL46Z * To configure the serial pins for the Freescale KL46Z board, use MTSAS jumper * configuration B. Uncomment the following line to use the Freescale KL46Z board @@ -106,6 +114,5 @@ wait(10); } - logDebug("End of example code\n"); return 0; } \ No newline at end of file