program to test exporting mbed-dev
Fork of FONA_CellPhone by
Diff: Adafruit_FONA.cpp
- Revision:
- 9:06eca688f2a3
- Parent:
- 2:aaef20ac9044
- Child:
- 18:d52017f1d087
--- a/Adafruit_FONA.cpp Fri Mar 11 02:55:42 2016 -0500 +++ b/Adafruit_FONA.cpp Tue Mar 15 02:09:33 2016 +0000 @@ -16,7 +16,7 @@ ****************************************************/ /* - * Modified by Marc PLOUHINEC 27/06/2015 for use in mbed + * Modified by George Tzintzarov & Jesse Baker 03/14/2016 for use in mbed LPC1768 */ #include <algorithm> #include "Adafruit_FONA.h" @@ -30,6 +30,7 @@ */ + bool Adafruit_FONA::begin(int baudrate) { mySerial.baud(baudrate); //set the baud rate of the fona serial connection mySerial.attach(this, &Adafruit_FONA::onSerialDataReceived, Serial::RxIrq); //attached onSerialDataReceived as Serial receive interrupt