Chat here about code rewrites, mods, etc... with respect to the github project https://github.com/esp8266/Arduino

Moderator: igrr

User avatar
By jpatrick62
#32079 Does anyone know if UART1 can be remapped off GPIO2? I use UART0 to communicate with a Teensy3.1 (not AT commands, basically a inter-processor communications channel), so I generally use GPIO2 to debug. Unfortunately, if you add a SPI device (such as a SPI OLED), using GPIO2 as a debug is a very bad idea as it causes the 8266 to hang and the watchdog timer reboots the chip. :roll:
User avatar
By kolban
#32080 There is an API called system_set_os_print() which disables debugging ... might this be what you are looking for?
User avatar
By schufti
#32104 hmmm, isn't it be "off" by default to not interfere with the "standard" use of gpio's?

quote "By default the diagnostic output from WiFi libraries is disabled when you call Serial.begin."