国产精品无码一区二区在线,办公室激情呻吟无码A片漫画,影音先锋 av天堂,欧洲女人牲交性开放视频

首頁(yè) > 技術(shù)支持 > 應(yīng)用與案例 > 正文
用瑞佑的控制芯片實(shí)現(xiàn)淡入淡出,半透效果 作者:Harchy   發(fā)表日期:2020-12-25   來(lái)源:菱致電子   瀏覽:
通過(guò)瑞佑的液晶控制芯片可以很容易實(shí)現(xiàn)半透明效果、淡入淡出效果,具備該功能的型號(hào)有RA8889,RA8876,RA8876M,RA8877,RA8871M,RA8873M等等,僅需要單片機(jī)控制,代碼簡(jiǎn)單易用.

代碼舉例:

BTE_Alpha_Blending(0,2736,500,300,0,2736,1024,0,0,2736,1100,400,200,200,16);



實(shí)現(xiàn)效果參考視頻:
http://v.youku.com/v_show/id_XMTM0MzQzNzY0NA==.html?f=26097383&from=y1.2-3.4.1

通過(guò)上位機(jī)操作說(shuō)明視頻:
http://v.youku.com/v_show/id_XOTQwMTI2OTMy.html

函數(shù)使用說(shuō)明:

void BTE_Alpha_Blending

(
unsigned long S0_Addr //Start address of Source 0
,unsigned short S0_W //image width of Source 0 (recommend = canvas image width)
,unsigned short XS0 //coordinate X of Source 0
,unsigned short YS0 //coordinate Y of Source 0
,unsigned long S1_Addr //Start address of Source 1
,unsigned short S1_W //image width of Source 1 (recommend = canvas image width)
,unsigned short XS1 //coordinate X of Source 1
,unsigned short YS1 //coordinate Y of Source 1
,unsigned long Des_Addr //start address of Destination
,unsigned short Des_W //image width of Destination (recommend = canvas image width)
,unsigned short XDes //coordinate Y of Destination
,unsigned short YDes //coordinate Y of Destination
,unsigned short X_W //Width BTE Window
,unsigned short Y_H //Length BTE Window
,unsigned char alpha
//alpha : Alpha Blending effect 0 ~ 32, Destination data = (Source 0 * (1- alpha)) + (Source 1 * alpha)
)





分享到:

相關(guān)熱詞搜索:淡入淡出 半透 透明色

上一篇:用TFT液晶屏來(lái)做時(shí)鐘計(jì)時(shí)器的方案
下一篇:RA8889/71M/73M/76M/77延展單色位圖為可變前景和背景色圖形