Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert to SoftwareSerial #4

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

cterwilliger
Copy link

Convert library to SoftwareSerial so ESP8266 can use native USB port for debug. Using D7/D8 for rec/xmit. Also added NULL pointer checks that were previously mentioned by others. Assuming some may want to stay with HardwareSerial, so maybe this branch can just sit here for whoever wants it. Modified .cpp, .h, and example files. Tested on ESP8266 NodeMCU 1.0 (ESP-12E).

@winginitau
Copy link
Owner

Gday! Thanks heaps for working on this. Would be great to merge it into the master.

Perhaps you could add some board directives:

// #define ESP
#ifdef ESP
...
#else 
...
#endif  

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants