1

I am trying to use esp8266 version of SoftwareSerial, espsoftwareserial, on an esp-12f.

If I initialize an object using:

SoftwareSerial gpsSer(14,12, false, 256); 

or

SoftwareSerial gpsSer(12,14, false, 256)

then gpsSer.write works in all both cases, using ports 12 and 14 for transmit appropriately, but gps.read fails.

I would be grateful for any advice.

Paul

  • 1
    have you tried to use it with another serial device? You can even try to link it to the hardware RX TX of esp to see if it behaves as expected. – brtiberio Nov 17 '16 at 11:38
  • Impossible to answer without seeing the full code. – Chupo_cro Dec 5 '16 at 20:58
  • The sketch works fine if i use the hardware TX, RX I only use the RX port from the ESP to read the output of a GPS device which produces about 200 bytes per second – epgibbons Dec 12 '16 at 23:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.