uses pushing box to publish to google spreadsheets with a state machine instead of a while loop
Fork of GSM_PUSHING_BOX_STATE_MACHINE by
Diff: GSMLibrary.cpp
- Revision:
- 28:81f1c8bd3299
- Parent:
- 27:fe1c7eaf5b88
- Child:
- 29:bc5f53f2922a
diff -r fe1c7eaf5b88 -r 81f1c8bd3299 GSMLibrary.cpp --- a/GSMLibrary.cpp Tue Apr 14 04:11:57 2015 +0000 +++ b/GSMLibrary.cpp Thu Apr 23 02:06:55 2015 +0000 @@ -267,7 +267,8 @@ } } //Initialize the GSM -void gsm_initialize(){ +void gsm_initialize(){ + wait(2.3); SIM_SCGC6 |= SIM_SCGC6_DMAMUX_MASK; //enabling dmamux clock SIM_SCGC7 |= SIM_SCGC7_DMA_MASK; // enebaling dma clock //pc.printf("initializing DMA...\r\n");