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

Serial on ESP8266 #97

Open
dtex opened this issue Jun 6, 2020 · 1 comment
Open

Serial on ESP8266 #97

dtex opened this issue Jun 6, 2020 · 1 comment

Comments

@dtex
Copy link
Contributor

dtex commented Jun 6, 2020

Trying to use serial on the ESP8266. Using WiFi should leave pins 1 and 3 of Serial0 available for use correct?

@soundanalogous
Copy link
Member

Serial can currently be used to print debug messages when using WiFi, however some changes are required to use Serial for other purposes when WiFi is the primary transport.

First I would make sure Serial write for debug is working on the ESP8266. Wire up pin 1 and uncomment SERIAL_DEBUG here.

If that works, then try need changing this line to #elif defined(ESP8266_WIFI) (also be sure to comment out SERIAL_DEBUG). You may also need to define pin 3 as ignore on the following line, but try first with just 1.

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

No branches or pull requests

2 participants