Announcement

Collapse
No announcement yet.

Send picture with serial communication

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • pauleilio
    replied
    Hi Olivier

    It is possible but you would have to do this with Magic Code to start the function. We don't have an example for this but as you have elready created a Magic Object then you should be able to do something with the information found on page 192 of this manual

    https://4dsystems.com.au/mwdownloads...d/link/id/720/

    The image that you send would be RGB 565 so 2 bytes per pixel. An image converted in Workshop to a GCI would be suitable to use if you start reading from byte 7

    The way that you would do this is to have the Magic Object run code similar to this,

    disp_setGRAM(40, 60, 100, 150);
    disp_BlitPixelsFromCOM0();

    Your host would then send each pixel from the RGB565 image until it has finished all pixels to fill the GRAM window. Once all the pixels have been written the Magic Object function would exit.

    I hope this helps

    Best regards

    Paul


    Leave a comment:


  • olahaye
    started a topic Send picture with serial communication

    Send picture with serial communication

    Is it possible to send picture with serial communication to the screen ?
Working...
X