Hello
I received yesterday a new FONA in replacement of the one "that was not working".
Still it is not working.
Here is my setup (same as FONATest's)
Code: Select all
#include <SoftwareSerial.h>
#include "Adafruit_FONA.h"
#define FONA_RX 8 //8 2
#define FONA_TX 9 //9 3
#define FONA_RST 4
// this is a large buffer for replies
char replybuffer[255];
// or comment this out & use a hardware serial port like Serial1 (see below)
SoftwareSerial fonaSS = SoftwareSerial(FONA_TX, FONA_RX);
Adafruit_FONA fona = Adafruit_FONA(FONA_RST);
uint8_t readline(char *buff, uint8_t maxbuff, uint16_t timeout = 0);
void setup() {
while (!Serial);
Serial.begin(115200);
Serial.println(F("FONA basic test"));
Serial.println(F("Initializing....(May take 3 seconds)"));
// make it slow so its easy to read!
fonaSS.begin(4800); // if you're using software serial
//Serial1.begin(4800); // if you're using hardware serial
// See if the FONA is responding
if (!fona.begin(Serial1)) { // can also try fona.begin(fonaSS)
Serial.println(F("WHY Couldn't find FONA"));
while (1);
}
Serial.println(F("FONA is OK"));
}
[img]
- 20150806_121411[1].jpg (923.58 KiB) Viewed 885 times
[/img]
[img]
- Optimized-20150806_121430[1].jpg (573.23 KiB) Viewed 885 times
[/img]
What is wrong ? I did everything. Really Everything.
I don't know what to do anymore please help me.
Thankx