Hi all,
First, Thanks for this wonderful project, i really enjoy experimenting with my fresh received board.
I try to establish a bidirectional communication between uPyhton and C++ through Serial.
The goal is to send python code from c++ and receive the result, the same way as it is done by Putty.
I think about using the REPL mode likes with Putty, but don't succeed to make it works.
I succeed to connect to the board with a serial library, but commands i send appear to not being executed.
Any idea ? Do i go the wrong way ?
Thanks for your answers !
Communication between micro pyhton and c++
Re: Communication between micro pyhton and c++
I'll guess that you need to send \r as the end of line rather than \n
Most serial terminals send \r when you hit ENTER.
Most serial terminals send \r when you hit ENTER.
Re: Communication between micro pyhton and c++
I wanted to ask something related: how do we use other USARTS available? Is there a Serial(num_port) object, as found in Arduino?
Frédéric
Re: Communication between micro pyhton and c++
There is a UART object!!!!
Sorry for the noise!
Sorry for the noise!
Frédéric
Re: Communication between micro pyhton and c++
Thanks for you answer,
totally right
totally right