ConfigurableFirmata icon indicating copy to clipboard operation
ConfigurableFirmata copied to clipboard

Serial on ESP8266

Open dtex opened this issue 4 years ago • 1 comments

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

dtex avatar Jun 06 '20 16:06 dtex

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.

soundanalogous avatar Jun 06 '20 21:06 soundanalogous