Draw Bitmap Directly Command / Protocol
Posted: Fri Jun 20, 2014 9:22 am
I am uncertain as to the exact bytes that I need to be sending in order to using the draw bitmap directly command for the glk19264-7t-1u.
I know that I send the command and the x,y,w,h values. I am confused as to what I need to send for the actual bitmap (the data). The manual says to reference the file upload protocol, but this includes sending command prefix, upload commands, reference IDs, and size parameters, which I feel like I don't need to send? Based on another post (http://www.lcdforums.com/forums/viewtop ... tly#p19276) it is unclear if the display echoes back the data sent and if I need to send confirmation bytes.
Can anyone tell me if this is correct:
--BEGIN--
0xFE (Command prefix)
0x64 (Draw bitmap directly command)
[X]
[Y]
[W]
[H]
Data[0]
<Display echoes Data[0]>
0x01 (Confirmation Byte)
Data[1]
<Display echoes Data[1]>
0x01 (Confirmation Byte)
...
Data[n]
<Display echoes Data[n]>
0x01 (Confirmation Byte)
--END--
Thanks!
I know that I send the command and the x,y,w,h values. I am confused as to what I need to send for the actual bitmap (the data). The manual says to reference the file upload protocol, but this includes sending command prefix, upload commands, reference IDs, and size parameters, which I feel like I don't need to send? Based on another post (http://www.lcdforums.com/forums/viewtop ... tly#p19276) it is unclear if the display echoes back the data sent and if I need to send confirmation bytes.
Can anyone tell me if this is correct:
--BEGIN--
0xFE (Command prefix)
0x64 (Draw bitmap directly command)
[X]
[Y]
[W]
[H]
Data[0]
<Display echoes Data[0]>
0x01 (Confirmation Byte)
Data[1]
<Display echoes Data[1]>
0x01 (Confirmation Byte)
...
Data[n]
<Display echoes Data[n]>
0x01 (Confirmation Byte)
--END--
Thanks!