How to send an image to the serial port?

GTT TFT Support

Moderator: Mods

Post Reply
zhangxiao1986ren
LCD?
Posts: 1
Joined: Wed Nov 09, 2011 4:07 pm
Location: Denver

How to send an image to the serial port?

Post by zhangxiao1986ren »

Hi,
I want to program with my GTT GTT480272-usb using C#.

1) I want to send an image to the display ? How can I do that, are there any sample codes for me ?

2) How can I show two sentences in different lines in the display?

Thank you!

Clark
Matrix Orbital
Matrix Orbital
Posts: 881
Joined: Fri Aug 17, 2007 10:58 am
Location: Matrix Orbital
Contact:

Post by Clark »

Hello ZhangXiao,

To send an image to the display, you'll first save it on the display memory card, you can do this by putting the unit in mass storage mode and transferring your image (make a note of the file name). Next you'll out the unit back into regular communication mode and load the bitmap into a buffer. Finally, you'll display the contents loaded into that buffer to the screen.

You can find all required commands in the manual, and might consider using our simple GUI tool to get a feel for the unit before beginning your C# development.

Thanks,
~Troy
Troy Clark
Design & Development
Matrix Orbital

Post Reply