迪文科技论坛

 找回密码
 立即注册
搜索
查看: 6832|回复: 10

【T5L_DGUS II平台】JPEG 图标叠加显示控件使用说明

[复制链接]

82

主题

150

回帖

2623

积分

超级版主

Rank: 8Rank: 8

积分
2623
发表于 2019-8-13 15:12:40 | 显示全部楼层 |阅读模式
变量数据 JPEG 图标叠加显示控件说明:
1、功能概述
把变量缓冲区的JPEG图标叠加显示到当前页面指定区域。
显示亮度、透明度可以设置。
背景滤除强度控件可以设置。
控件VP地址写入5A A5 表示开启这个功能
控件VP+1=JPEG缓冲区的大小,这个就是分配给JPEG图标数据的变量存储空间大小,比如0x8000表示分配64KB空间给JPEG图标数据存储。
VP+2=JPEG数据开始存储。

2、功能应用
针对需要动态显示图片的应用场景,比如工作人员照片更换的功能、弹出提示框、结合图标平移实现状态改变等等。

3、功能操作说明
先规划好JPEG图片数据需要缓存到屏上面的地址,一般的应用比如用户的小尺寸头像照片占用实际很小,我们不妨从0x8000-0xFFFF空间用于存放JPEG图片(≤64KB)数据。
第一步:设置控件,
例如地址设置为0x7FFE
第二步:图片数据据(JPEG图片的数据流FFD8开头,FFD9结尾的数据)依次从0x8000起始地址发送,
例:第1条:每条指令可以采用240个字节长度数据发送

5A A5 F3 82 80 00 FF D8 FF E0 00 10 4A 46 49 96 00 01 01 01 00 60 00 60 00 00 FF DB 00 43 00 08 06 06 07 06 05 08 07 07 07 09 09 08 0A 0C 14 0D 0C 0B 0B 0C 19 12 13 0F 14 1D 1A 1F 1E 1D 1A 1C 1C 20 24 2E 27 20 22 2C 23 1C 1C 28 37 29 2C 30 31 34 34 34 1F 27 39 3D 38 32 3C 2E 33 34 32 FF DB 00 43 01 09 09 09 0C 0B 0C 18 0D 0D 18 32 21 1C 21 32 32 32 32 .......
(DGUSII屏会有应答的“5A A5 03 82 4F 4B ”可以收到应答之后立即下发下一条,实际上,T5L采用20ms刷新机制,在使用用≤115200波特率情况下不停地发送数据也不会导致串口处理不过来的现象)
2条:地址按照12078h)字长依次递增,
5A A5 F3 82 80 78......
依次发送若干包数据......
最后一条不足240字节可以在末尾补齐00 00”
下图是用"UltraEdit-32"软件查看的jpeg图片的具体数据。

第三步:发送显示指令。
5A A5 07 82 7F FE 5A A5 80 00
实际上“0x80 00”指的是缓冲区的长度,JPEG数据流(
0xFFD8 ...0xFFD9 )文件格式,底层会判断处理,用户无需操心后面缓存地址多余的数据。

显示效果

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
回复

使用道具 举报

6

主题

27

回帖

109

积分

注册会员

Rank: 2

积分
109
发表于 2019-8-20 09:54:23 | 显示全部楼层
NICE 谢谢分享
回复

使用道具 举报

0

主题

8

回帖

57

积分

注册会员

Rank: 2

积分
57
发表于 2020-8-28 18:08:09 | 显示全部楼层
楼主,您的这个图标叠加控件的例程代码能不能分享下
回复

使用道具 举报

0

主题

125

回帖

2081

积分

金牌会员

Rank: 6Rank: 6

积分
2081
发表于 2020-8-29 11:26:21 | 显示全部楼层
汤中奇 发表于 2020-8-28 18:08
楼主,您的这个图标叠加控件的例程代码能不能分享下

这个你直接用UE软件打开JPG图片获取里面的数据就行,指令格式按照上面的发即可
回复

使用道具 举报

0

主题

8

回帖

57

积分

注册会员

Rank: 2

积分
57
发表于 2020-8-31 09:14:10 | 显示全部楼层
E:\Download\图片叠加.png,楼主您看看我这个代码,图片数据总共有1521个字节,我按每次100个字节发送,加上5A,A5,F3,82,80,00 一共是106个字节,按16次发送给控件,控件地址是7FFE,最后再发送显示命令,但是最后不知为啥没什么效果
回复

使用道具 举报

0

主题

8

回帖

57

积分

注册会员

Rank: 2

积分
57
发表于 2020-8-31 09:14:55 | 显示全部楼层

                u8 jpg_array1[106]={0x5A,0xA5,0xF3,0x82,0x80,0x00,0xFF,0xD8,0xFF,0xE0,0x00,0x10,0x4A,0x46,0x49,0x46,0x00,0x01,0x01,0x01,
                                                                                                0x00,0x60,0x00,0x60,0x00,0x00,0xFF,0xE1,0x00,0x22,0x45,0x78,0x69,0x66,0x00,0x00,0x4D,0x4D,0x00,0x2A,
                                                                                                0x00,0x00,0x00,0x08,0x00,0x01,0x01,0x12,0x00,0x03,0x00,0x00,0x00,0x01,0x00,0x01,0x00,0x00,0x00,0x00,
                                                                                                0x00,0x00,0xFF,0xDB,0x00,0x43,0x00,0x02,0x01,0x01,0x02,0x01,0x01,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
                                                                                                0x02,0x03,0x05,0x03,0x03,0x03,0x03,0x03,0x06,0x04,0x04,0x03,0x05,0x07,0x06,0x07,0x07,0x07,0x06,0x07,
                                                                                                0x07,0x08,0x09,0x0B,0x09,0x08};
                u8 jpg_array2[106]={0x5A,0xA5,0xF3,0x82,0x80,0x32,0x08,0x0A,0x08,0x07,0x07,0x0A,0x0D,0x0A,0x0A,0x0B,0x0C,0x0C,0x0C,0x0C,
                                    0x07,0x09,0x0E,0x0F,0x0D,0x0C,0x0E,0x0B,0x0C,0x0C,0x0C,0xFF,0xDB,0x00,0x43,0x01,0x02,0x02,0x02,0x03,
                                    0x03,0x03,0x06,0x03,0x03,0x06,0x0C,0x08,0x07,0x08,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,
                                    0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,
                                    0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,
                                    0xFF,0xC0,0x00,0x11,0x08,0x00};
                u8 jpg_array3[106]={0x5A,0xA5,0xF3,0x82,0x80,0x64,0x16,0x00,0x24,0x03,0x01,0x22,0x00,0x02,0x11,0x01,0x03,0x11,0x01,0xFF,
                                          0xC4,0x00,0x1F,0x00,0x00,0x01,0x05,0x01,0x01,0x01,0x01,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
                                          0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0xFF,0xC4,0x00,0xB5,0x10,0x00,0x02,0x01,
                                          0x03,0x03,0x02,0x04,0x03,0x05,0x05,0x04,0x04,0x00,0x00,0x01,0x7D,0x01,0x02,0x03,0x00,0x04,0x11,0x05,
                                          0x12,0x21,0x31,0x41,0x06,0x13,0x51,0x61,0x07,0x22,0x71,0x14,0x32,0x81,0x91,0xA1,0x08,0x23,0x42,0xB1,
                                    0xC1,0x15,0x52,0xD1,0xF0,0x24};
                u8 jpg_array4[106]={0x5A,0xA5,0xF3,0x82,0x80,0x96,0x33,0x62,0x72,0x82,0x09,0x0A,0x16,0x17,0x18,0x19,0x1A,0x25,0x26,0x27,
                                          0x28,0x29,0x2A,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x53,0x54,
                                          0x55,0x56,0x57,0x58,0x59,0x5A,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x73,0x74,0x75,0x76,0x77,0x78,
                                          0x79,0x7A,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0xA2,
                                          0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xC2,0xC3,0xC4,
                                          0xC5,0xC6,0xC7,0xC8,0xC9,0xCA};
                u8 jpg_array5[106]={0x5A,0xA5,0xF3,0x82,0x80,0xC8,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xE1,0xE2,0xE3,0xE4,0xE5,
                                          0xE6,0xE7,0xE8,0xE9,0xEA,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFF,0xC4,0x00,0x1F,0x01,
                        0x00,0x03,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x02,0x03,
                                          0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0xFF,0xC4,0x00,0xB5,0x11,0x00,0x02,0x01,0x02,0x04,0x04,0x03,
                                          0x04,0x07,0x05,0x04,0x04,0x00,0x01,0x02,0x77,0x00,0x01,0x02,0x03,0x11,0x04,0x05,0x21,0x31,0x06,0x12,
                                    0x41,0x51,0x07,0x61,0x71,0x13};
                u8 jpg_array6[106]={0x5A,0xA5,0xF3,0x82,0x80,0xFA,0x22,0x32,0x81,0x08,0x14,0x42,0x91,0xA1,0xB1,0xC1,0x09,0x23,0x33,0x52,
                                          0xF0,0x15,0x62,0x72,0xD1,0x0A,0x16,0x24,0x34,0xE1,0x25,0xF1,0x17,0x18,0x19,0x1A,0x26,0x27,0x28,0x29,
                                          0x2A,0x35,0x36,0x37,0x38,0x39,0x3A,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x53,0x54,0x55,0x56,0x57,
                                          0x58,0x59,0x5A,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x82,
                                          0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0xA2,0xA3,0xA4,
                                    0xA5,0xA6,0xA7,0xA8,0xA9,0xAA};
                u8 jpg_array7[106]={0x5A,0xA5,0xF3,0x82,0x81,0x2C,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xC2,0xC3,0xC4,0xC5,0xC6,
                                          0xC7,0xC8,0xC9,0xCA,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,
                                          0xE9,0xEA,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFF,0xDA,0x00,0x0C,0x03,0x01,0x00,0x02,0x11,
                                          0x03,0x11,0x00,0x3F,0x00,0xFD,0x4C,0xFF,0x00,0x82,0xB9,0x7E,0xD4,0x5A,0xE7,0xEC,0xE5,0xFB,0x36,0xC9,
                                          0x6B,0xE1,0x3D,0x4F,0xFB,0x0B,0xC5,0xDE,0x23,0xC7,0xF6,0x66,0xA3,0xF6,0x78,0xEE,0xBE,0xCB,0xE4,0x5D,
                                    0x5A,0x19,0x7F,0x75,0x2C,0x6F};
                u8 jpg_array8[106]={0x5A,0xA5,0xF3,0x82,0x81,0x5E,0x1B,0xEE,0x8A,0x47,0x5F,0x9B,0x18,0xDD,0x91,0x92,0x06,0x3E,0x27,0xF0,
                                          0x7F,0xED,0x17,0xFB,0x56,0x78,0xFB,0xE1,0x8E,0x97,0xE2,0xCD,0x37,0xE2,0x57,0xDA,0x34,0xDD,0x4F,0xCD,
                                          0xCF,0xFC,0x53,0xDA,0x3A,0xF9,0x3E,0x5C,0xA6,0x2F,0xE2,0x40,0xCD,0x96,0x53,0xFC,0x23,0x1F,0xAD,0x70,
                                          0x7F,0xF0,0x70,0xDF,0xED,0x9D,0xE1,0xAF,0x14,0xFE,0xD8,0x3A,0x6F,0xC3,0x7B,0x8D,0x43,0xCA,0xD4,0xBE,
                                          0x15,0xF9,0xBE,0x6C,0x7E,0x44,0xAD,0xE5,0xFF,0x00,0x68,0x59,0x58,0x5C,0x0E,0x44,0x41,0x4E,0x54,0x67,
                                    0x87,0x7C,0x7F,0xB3,0xD2,0xBE};
                u8 jpg_array9[106]={0x5A,0xA5,0xF3,0x82,0x81,0x90,0x67,0xB7,0xFF,0x00,0x82,0xAD,0x47,0xE1,0xAD,0x63,0x50,0xBB,0xF0,0xEE,
                                          0xA9,0xFD,0x83,0x17,0x89,0x3C,0xBF,0xED,0x48,0x7E,0xCD,0xF6,0xAF,0xED,0x1F,0x21,0x71,0x0F,0xCD,0x25,
                                          0xB9,0xF2,0xF6,0x65,0x8F,0xC9,0x8D,0xDB,0xB9,0xCE,0x05,0x78,0xB8,0xEE,0x16,0xCE,0xF1,0x98,0x97,0x5E,
                                          0x9D,0x3A,0xCA,0x9F,0x2A,0x51,0xE4,0x52,0x49,0xF5,0xE6,0xBA,0xD1,0xEB,0xA7,0x9A,0xF4,0x45,0x65,0xFF,
                                          0x00,0x48,0x0C,0x3F,0x0D,0xD3,0x9E,0x4D,0x1C,0x82,0x9E,0x26,0x50,0xA9,0xCC,0xEB,0x54,0x82,0xAA,0xE6,
                                    0x9C,0x52,0x70,0x8C,0x65,0x4D};
                u8 jpg_array10[106]={0x5A,0xA5,0xF3,0x82,0x81,0xC2,0xF2,0xC6,0x2D,0x2B,0x5A,0x76,0x7E,0xF3,0x4A,0xED,0xA7,0xF6,0xBE,0x81,
                                           0xFB,0x47,0xFE,0xD4,0x5E,0x23,0xD5,0x7C,0x31,0x67,0x0F,0xC5,0x7D,0xB3,0x78,0xBB,0xED,0x5F,0x61,0x1F,
                                           0xF0,0x8C,0x69,0x27,0x7F,0xD9,0x81,0x32,0x7F,0x00,0x03,0x00,0x7F,0x16,0xDF,0x6C,0xD6,0x07,0x8A,0xFF,
                                           0x00,0x6D,0x4F,0xDA,0x5B,0xC0,0x56,0x73,0xDE,0xEA,0x1F,0x13,0xF3,0x63,0xF2,0xFD,0x8A,0x4F,0xF8,0x47,
                                           0x34,0xAF,0xF4,0xFE,0x42,0xC9,0xC2,0xC4,0x4C,0x7B,0x19,0x80,0xF9,0xBE,0xF7,0x6A,0xF8,0xC7,0x46,0xFF,
                                           0x00,0x82,0x95,0x59,0xC7,0xA0};
                u8 jpg_array11[106]={0x5A,0xA5,0xF3,0x82,0x81,0xF4,0xDB,0x47,0x7D,0xAA,0x7F,0x6A,0x58,0xE8,0x3B,0xBF,0xB2,0xD7,0xEC,0xC6,
                                           0x0F,0xEC,0xCF,0x39,0x8F,0x9D,0xC8,0x83,0x32,0xF9,0x8D,0x8F,0xBD,0x9D,0xB8,0xE3,0x15,0xCF,0xEA,0x9F,
                                           0xB5,0xA3,0x7C,0x74,0xF0,0xC7,0x83,0xFC,0x01,0xA6,0xEA,0xFF,0x00,0x6E,0x87,0xC2,0xFF,0x00,0x6D,0xFE,
                                           0xC3,0xB0,0xFB,0x2F,0x97,0xE4,0xFD,0xA1,0xC4,0xF7,0x1F,0xBC,0x68,0xD4,0x9C,0x94,0x2D,0xFB,0xC6,0x38,
                                           0xC6,0x17,0x1D,0x2B,0xCF,0xAD,0xC1,0x39,0xF2,0xA7,0x27,0x08,0xE2,0x13,0x5D,0x5F,0x3F,0x65,0xBE,0xB6,
                                           0xB6,0xEE,0xFE,0x9E,0x67,0x65};
                u8 jpg_array12[106]={0x5A,0xA5,0xF3,0x82,0x82,0x26,0x3F,0xA5,0x6C,0x23,0x51,0x35,0xC2,0x94,0x26,0x9F,0xD9,0xF6,0x30,0x8E,
                                           0xBC,0xCB,0x76,0xA8,0x3B,0x5E,0x37,0x57,0x4A,0x5B,0x6D,0x79,0x7B,0xBF,0xBB,0xDF,0xF0,0x4D,0xA8,0xBE,
                                           0x29,0x7C,0x6E,0xFD,0x8B,0x3C,0x17,0xE2,0x8F,0x1E,0x7C,0x40,0xFE,0xD2,0xF1,0x66,0xA9,0xF6,0xEF,0xB7,
                                           0x5C,0x7F,0x61,0xDA,0x43,0xE6,0x79,0x77,0xD7,0x11,0x47,0xF2,0xC3,0xB6,0x31,0x88,0xD1,0x07,0xCA,0x07,
                                           0x4C,0x9E,0x72,0x68,0xAF,0xA6,0x3C,0x01,0xE0,0x6D,0x3B,0xE1,0x87,0x84,0x6D,0x34,0x3D,0x22,0xDF,0xEC,
                                           0xFA,0x7D,0x8E,0xFF,0x00,0x2A};
                u8 jpg_array13[106]={0x5A,0xA5,0xF3,0x82,0x82,0x58,0x3D,0xEC,0xDB,0x77,0xBB,0x3B,0x72,0xC4,0xB7,0xDE,0x62,0x79,0x26,0x8A,
                                           0xFA,0x0C,0x3E,0x17,0x92,0x94,0x61,0x36,0xE4,0xD2,0x49,0xBB,0xBD,0x5D,0xB7,0xDF,0xA9,0xB6,0x3B,0x38,
                                           0x78,0x9C,0x4D,0x4C,0x4C,0x29,0x42,0x9A,0x9C,0x9C,0x94,0x23,0x18,0xB8,0xC1,0x36,0xDF,0x2A,0x6E,0x37,
                                           0x6A,0x3B,0x26,0xF5,0x69,0x1F,0x9E,0x1F,0x1D,0xBF,0xE0,0xDF,0x9D,0x7B,0xE3,0x4F,0xED,0x35,0xE3,0x2F,
                                           0x8A,0x4B,0xF1,0xE3,0xFB,0x2B,0x5D,0xF1,0xC7,0xD8,0xBF,0xB4,0x7F,0xE2,0x89,0x8E,0x7D,0xFF,0x00,0x64,
                                           0xB4,0x4B,0x58,0xBF,0xE5,0xED};
                u8 jpg_array14[106]={0x5A,0xA5,0xF3,0x82,0x82,0x8A,0x50,0x61,0x13,0xF8,0x51,0x7A,0xF3,0x92,0x33,0x5C,0xE0,0xFF,0x00,0x83,
                                           0x70,0x7C,0x50,0xA9,0x70,0x07,0xED,0x19,0xF3,0x5E,0x6D,0xFB,0x41,0xFF,0x00,0x84,0x06,0x2F,0xDE,0xED,
                                           0xFB,0xBF,0xF2,0xFB,0xC6,0x3D,0xBA,0xD1,0x45,0x7D,0x35,0x3E,0x24,0xCC,0x63,0x15,0x18,0xCD,0x59,0x24,
                                           0x97,0xBB,0x0D,0x92,0xB2,0xFB,0x3D,0x11,0xF2,0xF5,0x32,0x7C,0x24,0xE4,0xE5,0x28,0xBB,0xBF,0xEF,0x4B,
                                           0xFC,0xCA,0xF7,0x9F,0xF0,0x6D,0x66,0xBD,0xA8,0xC9,0x71,0x24,0xFF,0x00,0xB4,0x37,0x99,0x25,0xF6,0xDF,
                                           0xB5,0x37,0xFC,0x20,0x71,0x8F};
                u8 jpg_array15[106]={0x5A,0xA5,0xF3,0x82,0x82,0xBC,0x3B,0x67,0xDC,0xE9,0x7B,0xF2,0xE3,0xDB,0xAF,0x7A,0xEC,0xFF,0x00,0x67,
                                           0x0F,0xF8,0x20,0x2D,0xC7,0xC0,0x8F,0xDA,0x7F,0xC0,0xDF,0x12,0x7C,0x49,0xF1,0x83,0xFE,0x13,0x8B,0x1F,
                                           0x03,0xFD,0xBF,0x6E,0x8B,0xFF,0x00,0x08,0xA0,0xD3,0x7E,0xD7,0xF6,0xBB,0x49,0x2D,0x8F,0xFA,0x44,0x77,
                                           0x6C,0x53,0x6B,0x3A,0xBF,0xDC,0x6C,0xEC,0xDB,0xC6,0x49,0xA2,0x8A,0x75,0x38,0x93,0x31,0xA9,0x07,0x4E,
                                           0x55,0x34,0x69,0xA7,0xEE,0xC5,0x68,0xD5,0x9E,0xA9,0x5F,0x6D,0x3D,0x34,0x0A,0x79,0x2E,0x0E,0x12,0x53,
                                           0x8C,0x35,0x4E,0xFB,0xBE,0x9F};
                u8 jpg_array16[106]={0x5A,0xA5,0xF3,0x82,0x82,0xEE,0x33,0xF4,0x48,0x6B,0x9B,0xBF,0xE5,0x8F,0xFE,0x3D,0xFF,0x00,0xD6,0xA2,
                                           0x8A,0x2B,0xC2,0x3D,0x43,0xFF,0xD9,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
                                           0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
                                           0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
                                           0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
                                           0x00,0x00,0x00,0x00,0x00,0x00};
                u8 visible_jpg[10]={0x5A,0xA5,0x07,0x82,0x7F,0xFE,0x5A,0xA5,0x80,0x00};
               
                sys_write_vp(0x7FFE,jpg_array1,106);
                sys_write_vp(0x7FFE,jpg_array2,106);
                sys_write_vp(0x7FFE,jpg_array3,106);
                sys_write_vp(0x7FFE,jpg_array4,106);
                sys_write_vp(0x7FFE,jpg_array5,106);
                sys_write_vp(0x7FFE,jpg_array6,106);
                sys_write_vp(0x7FFE,jpg_array7,106);
                sys_write_vp(0x7FFE,jpg_array8,106);
                sys_write_vp(0x7FFE,jpg_array9,106);
                sys_write_vp(0x7FFE,jpg_array10,106);
                sys_write_vp(0x7FFE,jpg_array11,106);
                sys_write_vp(0x7FFE,jpg_array12,106);
                sys_write_vp(0x7FFE,jpg_array13,106);
                sys_write_vp(0x7FFE,jpg_array14,106);
                sys_write_vp(0x7FFE,jpg_array15,106);
                sys_write_vp(0x7FFE,jpg_array16,106);
               
                sys_write_vp(0x7FFE,visible_jpg,10);
回复

使用道具 举报

0

主题

8

回帖

57

积分

注册会员

Rank: 2

积分
57
发表于 2020-8-31 09:20:47 | 显示全部楼层
最后的显示指令的变量地址是否还是控件的变量地址7FFE呢?
回复

使用道具 举报

0

主题

81

回帖

1373

积分

金牌会员

Rank: 6Rank: 6

积分
1373
发表于 2020-8-31 09:45:01 | 显示全部楼层
汤中奇 发表于 2020-8-31 09:20
最后的显示指令的变量地址是否还是控件的变量地址7FFE呢?

最后显示指令的变量地址就是您控件的变量地址哦  最后5AA5后面的变量地址 是您写入到22文件中的变量地址
回复

使用道具 举报

0

主题

8

回帖

57

积分

注册会员

Rank: 2

积分
57
发表于 2020-8-31 09:47:04 | 显示全部楼层
那照您这么说,上面贴的代码应该没问题啊,问啥还没显示呢?难道5AA5后面的8000这个地址,要在22文件里手动设置吗?
回复

使用道具 举报

0

主题

8

回帖

57

积分

注册会员

Rank: 2

积分
57
发表于 2020-8-31 09:50:23 | 显示全部楼层
还有啊,显示指令中第一个5A A5后面的07 82这两个字节代表什么 意思呢?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|迪文科技论坛 ( 京ICP备05033781号-1 )

GMT+8, 2024-11-23 07:19 , Processed in 0.072109 second(s), 22 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表