Code:
import machineimport time# Define serial portuart = machine.UART(0, baudrate=115200, tx=0, rx=1, timeout=1000)
That looks like MicroPython.
Which is odd, because you wrote -
I need to implement the same on Pi pico, for which I am using the C++.
And also -
I have connected the TX of TTL side to TX of pico
RX of TTL side to RX of pico
I have connected the TX of TTL side to TX of picoI have connected the TX of TTL side to TX of pico
RX of TTL side to RX of picoRX of TTL side to RX of pico
That seems to be muddled.
In general, a signal Transmitted from one device will need to be Received on the other.
Statistics: Posted by B.Goode — Sat Jun 15, 2024 8:22 am