Hi,
I try to use micropython to send data through Rx and TX port of raspberry pico to arduino uno . I know there are different protocol can be used , but i want to practice my skill with this port . I saw the library uart recommended in the tutorial . However , I think it only send up to 5 bit , but i want 8 bit.
I find on the internet the below code to configure serial sender as 8 bit :
import serial
import threading
self.serial = serial.Serial(
port= port, // depend on the port use
baudrate=115200,
parity=serial.PARITY_NONE,
stopbits=serial.STOPBITS_ONE,
bytesize=serial.EIGHTBITS
For the port section on above code , when I put RX and TX , the error appeared as no port available . How could I add the RX and TX to the above code.