Version using RawSerial instead of Serial (thread safe)

Fork of FONA_Cellphone_Library by Dream Team

Revision:
1:df5de663fad8
Parent:
0:52654f3080d9
Child:
2:f292ec14f01e
--- a/Adafruit_FONA.cpp	Wed Mar 30 17:18:50 2016 +0000
+++ b/Adafruit_FONA.cpp	Fri Jun 30 07:19:42 2017 +0000
@@ -33,7 +33,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
+    //mySerial.attach(this, &Adafruit_FONA::onSerialDataReceived, Serial::RxIrq); //attached onSerialDataReceived as Serial receive interrupt
     
     // INIT Reboot process
     _rstpin = HIGH;