Hi,
I need to send/receive small files (a few hundreds bytes at most) by serial interface with another device. Is there any python library to do this easily?
Thanks.
3 Answers
Hi.
To read bytes by serial you can use the UART class: https://docs.micropython.org/en/latest/library/machine.UART.html
However, I’m not sure if it is suitable for your application.
Regards,
Sara
Hi Sara,
I saw it but they say “Availability: WiPy”: I have a node MCU 8266.
It seems strange to me that noone needed such a basic function and no general purpose serial com library exists.
Have a nice day.
Enzo