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.h
- Revision:
- 17:360afa1e6809
- Parent:
- 16:6807d437cd48
- Child:
- 22:a5adf9331032
--- a/GSMLibrary.h Fri Mar 06 22:14:50 2015 +0000 +++ b/GSMLibrary.h Sat Mar 07 23:35:12 2015 +0000 @@ -23,8 +23,11 @@ //Initialize DMA data transfer, and UART3. void gsm_initialize(); +//returns 1 for eady to send again, 0 for busy. +bool gsm_ready(); + //begin message transmission -void gsm_send_sms(); +void gsm_send_sms(char message[]); //Brings state machine back to initialize state (notice this is different than initialize function) //this will set flags to initial values and prepare gsm to work anew.