当前位置:网站首页>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
边栏推荐
猜你喜欢

嵌入式开发:创建和使用可移植类型的7个技巧

软件测试之发现和解决bug

【2022蓝帽杯】file_session && 浅入opcode

What is consistent hashing?In what scenarios can it be applied?

Qt实战案例(56)——利用QProcess实现应用程序重启功能

final关键字的作用 final和基本类型、引用类型

How does the SAP ABAP OData service support the Create operation trial version

PAT 1163 Dijkstra Sequence(30)

How do we do full-link grayscale on the database?

【码蹄集新手村600题】判断一个数字是否为完全平方数
随机推荐
PyTorch 进阶之路:在 GPU 上训练深度神经网络
mysql的基本使用
tensorflow2.0 handwritten digit recognition (tensorflow handwriting recognition)
Six Stones Programming: Problems must be faced, methods must be skillful, and functions that cannot be done well must be solved
性能优化——动画优化笔记
树和二叉树的转换
leetcode: 1201. Ugly Number III [Dichotomy + Mathematics + Inclusion and Exclusion Principle]
直播系统聊天技术(八):vivo直播系统中IM消息模块的架构实践
嵌入式开发:创建和使用可移植类型的7个技巧
什么是混合元编程
D - Draw Your Cards(模拟)
超全!全国近90所大学考研报录比汇总!
sql is not null 优化(oracle语句索引优化)
iframe tag attribute description detailed [easy to understand]
灵魂发问:MySQL是如何解决幻读的?
考研大事件!这6件事考研人必须知道!
透过开发抽奖小程序,体会创新与迭代
对标丰田!蔚来又一新品牌披露:产品价格低于20万
NebulaGraph v3.2.0 性能报告
牛客刷SQL--3