I want to use my NodeMCU esp8266 board to drive some relays in my PC, and i want it to recieve signals frought uart interface.
I started to learn how i can do this, and find machine.uart method. But i have faced a problem:
esp8266 is starting to recieve UART messages already after 'uart = machine.UART(0, 9600)' command, and it paste it to input line of REPL. How can i force it to recieve the UART signals to variable?
I tried all other commands, uart.init, uart.read, uart.readline - nothing changes.


And i'm sorry, i'm newbie, and maybe i'm understand somthing wrong?