Xinyuan-LilyGO / T-Display-S3

MIT License
731 stars 173 forks source link

Sending image from IPC to Lilygo via Serial port #196

Closed Kevin-Palmerini closed 3 months ago

Kevin-Palmerini commented 8 months ago

Hello!

I've a "problem" regarding an attempt that I would like to make work.

My goal is to send an image (JPG, PNG, BMP, etc) using the pyserial package of Python from a PC to the Lilygo board and display it.

If feasible, an other request is also to send the image data as a json object. For example something like { "image": [.. .. ..] }. Then the Lilygo should read and parse all the serial string data in order to display the image.

I have difficulties to understand and write Python/Arduino code to let the Lilygo's serial read all the json data, since there is a limit to how many bytes it is possible to send in block.

Of course I've search on websites how to solve this issue, but it is still not clear for me.

Does anyone have a very simple code that make possible to send an image from Python to Lilygo as JSON object?

Thank you!!

github-actions[bot] commented 3 months ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 3 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.