PaulStoffregen / AltSoftSerial

Software emulated serial using hardware timers for improved compatibility
http://www.pjrc.com/teensy/td_libs_AltSoftSerial.html
338 stars 132 forks source link

incompatible with esp8266 architecture(s). #22

Closed sleeping1013 closed 8 years ago

sleeping1013 commented 8 years ago

Hi, I used arduino IDE to code esp8266. (https://github.com/esp8266/Arduino) when I wrote:


#include 
AltSoftSerial myserial(0,2)

I couldn't pass the compiler, and got following error msgs: WARNING: library AltSoftSerial claims to run on [avr] architecture(s) and may be incompatible with your current board which runs on [esp8266] architecture(s).

It would be helpful if you can provide the compatibility for esp8266, because esp8266 has only one UART and the softwareserial such on communicating with RS232.

Thanks in advance.

Lucas

PaulStoffregen commented 8 years ago

I would be happy to merge such code, if anyone contributes it. But I do not have the time to develop this code.