hello, i trying this sketch on esp 8266 12E with neo 6m gps and it works , i am able to read the gps nmea sentences on serial monitor
Tx of neo 6m goes to Rx of esp 8266 12e ( serial0 )
but the problem is with esp 01s, trying the same sketch , and i won't get to read the gps data
Tx of neo goes to Rx of esp 01s
i use 3.7V lion battery to power both esp and neo gps
and here is my code
// Tx of Neo 6m goes to Rx of ESP
String kassim;
unsigned long base;
void setup() {
Serial.begin(9600);
Serial.println("\n\n\nBooting...");
}
void loop() {
if (Serial.available() > 0) {
kassim = "";
while (Serial.available() > 0) {
delay(1);
char c = Serial.read();
kassim += c;
}
Serial.println(kassim);
}
if ( millis() - base >= 3000 ) {
base = millis();
Serial.println("Living...");
}
}
any help will be appreciated !