当前位置:网站首页>MBI5020 LED Driver
MBI5020 LED Driver
2022-08-01 14:03:00 【xqhrs232】
Original address::MBI5020 LED Driver - GrayXinwang (software development blog aggregation)
Related Articles
1. MBI5020LED Driver----MBI5020LED Driver-Baidu Library
2. MBI5020 SM16126 overturned, no output, please ask everyone----MBI5020 SM16126 overturned, no output, please ask everyone (amobbs.com Amo electronic forum)
3. MBI5020 LED driver----MBI5020 LED driver_zhangliangfeng412's blog-CSDN blog_mbi5020gp chip information
4. MBI5020 16-bit constant current driver chip----MBI5020 16-bit constant current driver chip _meselfly's blog-CSDN blog _mbi5020 driver
5. MBI5026 driver----MBI5026 driver _ express blog blog - CSDN blog _mbi5026 driver
Drive led light with MBI5020 chip
Circuit diagram two SDI
Program
void screen_refresh_first(void) {uint8_t i, j, k;uint16_t data1[4];uint16_t data2[4];for(k=0;k<4;k++){data1[k]=ref_data1[k];data2[k]=ref_data2[k];}//µÚÒ»×éSDI_1_L;//µÚһ·Êý¾ÝSDI_2_L;//µÚ¶þ·Êý¾ÝCLK_1_L;//ʱÖÓLE_1_L;OE_1_H;//ʹÄÜfor (i = 0; i < 4; i++) //¿ªÊ¼½øÐÐÒÆÎ»{for (j = 0; j < 16; j++) {//ÏÈ×¼±¸ºÃÊý¾Ýif (data2[i] &0x8000) { //data[i]&(1<<(15-j))SDI_2_H; //Êý¾Ý1}else {SDI_2_L; //Êý¾Ý0}if (data1[i] &0x8000) {SDI_1_H; //Êý¾Ý1}else {SDI_1_L; //Êý¾Ý0}CLK_1_H;data1[i] = (data1[i] << 1);//Êý¾Ý×óÒÆÒ»Î»data2[i] = (data2[i] << 1);//Êý¾Ý×óÒÆÒ»Î»CLK_1_L;}}LE_1_H;//¿ªÊ¼ÒÆÎ»LE_1_L;//ÀµÍÒÆÎ»OE_1_L;//ʹÄÜÊä³ö}
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
Copyright statement: This article is an original article by zhangliangfeng412, following CC 4.0 BY-SACopyright agreement, please attach the original source link and this statement for reprinting.
Link to this article: MBI5020 LEDDriver_zhangliangfeng412's blog-CSDN blog_mbi5020gp chip information
边栏推荐
猜你喜欢
【每日一题】1331. 数组序号转换
响应式2022英文企业官网源码,感觉挺有创意的
Multi-threaded cases - blocking queue
「计算复杂性」理论奠基人Juris Hartmanis逝世,曾获93年图灵奖
170页6万字智慧能源管理平台建设方案书
程序员的浪漫七夕
论文详读《基于改进 LeNet-5 模型的手写体中文识别》,未完待补充
PAT 1163 Dijkstra Sequence(30)
gpio模拟串口通信
[LiteratureReview]Optimal and Robust Category-level Perception: Object Pose and Shape Estimation f
随机推荐
什么是混合元编程
性能测试入门指南
Multi-threaded cases - blocking queue
8. How does the SAP ABAP OData service support the Create operation
Istio Pilot代码深度解析
沃文特生物IPO过会:年营收4.8亿 养老基金是股东
性能优化——动画优化笔记
性能优化——粒子优化笔记
D - Draw Your Cards (Simulation)
opencv 保存图片imwrite
树和二叉树的转换
Istio投入生产的障碍以及如何解决这些问题
postgresql之page分配管理(二)
Qt实战案例(55)——利用QDir删除选定文件目录下的空文件夹
170页6万字智慧能源管理平台建设方案书
PIR人体感应AC系列感应器投光灯人体感应开关等应用定制方案
考研大事件!这6件事考研人必须知道!
PAT1165 Block Reversing(25)
性能优化——资源优化笔记
Based on 10 years of experience in stability assurance, what are the three key questions to be answered in failure recovery?|TakinTalks big coffee sharing