How do I get data through the REPL port in a program?

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
MyraParks
Posts: 2
Joined: Wed Nov 24, 2021 8:02 pm

How do I get data through the REPL port in a program?

Post by MyraParks » Wed Nov 24, 2021 8:49 pm

Am working with an ESP32 board that has an on_ board USB-COM port that is being used by the REPL. My application is designed such that it uses the UART communication. But I prefer to utilize the REPL board over the UART communication so that for me I do not need to do the wire of the other pins so that I can use the UART. I just use the REPL port just like how the normal UART is used.
https://www.theengineeringprojects.com/ ... cu-v3.html
My worry is how to get data from this REPL port in the program. I actually have no idea about that.

Can someone help? Thanks!
Last edited by MyraParks on Mon Feb 28, 2022 2:01 am, edited 1 time in total.

User avatar
Roberthh
Posts: 3667
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: How do I get data through the REPL port in a program?

Post by Roberthh » Wed Nov 24, 2021 8:54 pm

Did you see this thread: viewtopic.php?f=2&t=11426
It asked the same question.

Post Reply