xue liu
/
mbed-os-example-cellular-Wislink
mbed os example for Wislink RAK2011
Diff: main.cpp
- Revision:
- 45:d90a8c5ae1e3
- Parent:
- 43:91f11760b50f
--- a/main.cpp Wed Jul 24 15:27:53 2019 +0000 +++ b/main.cpp Thu May 07 21:57:52 2020 +0000 @@ -27,18 +27,17 @@ void BG96_Modem_PowerON(void) { - DigitalOut BG96_RESET(D7); - DigitalOut BG96_PWRKEY(D9); + DigitalOut BG96_RESET(D5); + DigitalOut BG96_PWRKEY(D6); BG96_RESET = 1; - BG96_PWRKEY = 1; wait_ms(200); BG96_RESET = 0; - BG96_PWRKEY = 0; + BG96_PWRKEY = 1; wait_ms(300); - BG96_RESET = 1; + BG96_PWRKEY = 0; wait_ms(5000); }