Search found 32 matches

by cemox
Tue Oct 09, 2018 7:11 am
Forum: ESP8266 boards
Topic: accessing uart0 on nodemcu board
Replies: 23
Views: 4067

Re: accessing uart0 on nodemcu board

[quote=Roberthh post_id=30848 time=1539028096 user_id=601] Even if REPL is not used when running code, uart0 ist not available as such, unless you call uos.dupterm(None) before instantiating it, to make it available as uart again. Without that, you can read the data on uart0 rx with sys.stdin.read()...
by cemox
Mon Oct 08, 2018 5:50 pm
Forum: ESP8266 boards
Topic: accessing uart0 on nodemcu board
Replies: 23
Views: 4067

accessing uart0 on nodemcu board

hi, knowing that uart0 is dedicated to repl and uart1 is only capable of sending data (no rx), I searched the forum to find a solution. it is said that repl is not active when the code is run from main.py, I tried that, did not work. I also tried to disable repl by uos.dupterm(None), no luck. In the...