accessing uart0 on nodemcu board

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
flywire
Posts: 22
Joined: Wed Jan 02, 2019 7:08 am

Re: accessing uart0 on nodemcu board

Post by flywire » Thu Jan 03, 2019 8:37 am

kevinkk525 wrote:
Mon Dec 24, 2018 2:12 pm
... Use the webrepl.
I don't have wifi in my PC.
Last edited by flywire on Thu Jan 03, 2019 11:49 am, edited 3 times in total.

kevinkk525
Posts: 393
Joined: Sat Feb 03, 2018 7:02 pm

Re: accessing uart0 on nodemcu board

Post by kevinkk525 » Thu Jan 03, 2019 9:01 am

Your PC obviously is connected to the network so that won't be an issue.

flywire
Posts: 22
Joined: Wed Jan 02, 2019 7:08 am

Re: accessing uart0 on nodemcu board

Post by flywire » Fri Jan 04, 2019 10:44 am

kevinkk525 wrote:
Mon Dec 24, 2018 2:12 pm
If you write: uos.dupterm(None, 1)
you disable the terminal output to UART so of course you dont see anything. Use the webrepl.
Note known conflict between os.dupterm and WebREPL: viewtopic.php?f=2&t=5446&hilit=WebREPL+Disconnected and maybe viewtopic.php?f=16&t=2929&hilit=WebREPL+Disconnected.

kevinkk525
Posts: 393
Joined: Sat Feb 03, 2018 7:02 pm

Re: accessing uart0 on nodemcu board

Post by kevinkk525 » Fri Jan 04, 2019 10:46 am

Interesting, did not remember that..

Post Reply