Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
global.h
- Committer:
- MwadimeMakokha
- Date:
- 2019-11-13
- Revision:
- 0:3d4b4cf5f0e3
- Child:
- 1:940070f92554
File content as of revision 0:3d4b4cf5f0e3:
#ifndef GLOBAL_H_INCLUDED #define GLOBAL_H_INCLUDED #include "mbed.h" static Serial pcSerial(USBTX,USBRX,115200); static Serial modemSerial(PC_6, PC_7); void get_response(uint16_t timeout,bool is_multiline); #define DEBUG_PRINTLN(...) \ {\ do{\ pcSerial.printf(__VA_ARGS__);\ pcSerial.printf("\n\r");\ }while(0);\ } #define MODEM_PRINTLN(...)\ {\ do{\ modemSerial.printf(__VA_ARGS__);\ modemSerial.printf("\n\r");\ }while(0);\ } #endif