tls8201.c
来自「nt7538 tl8201 c初始化代码」· C语言 代码 · 共 23 行
C
23 行
void InitMain()
{
res=0;
Delay(1);
res=1;
WCom(0xe2);//reset
WCom(0x40);//start line
WCom(0xa1);//seg direction: normal
WCom(0xa6);//display reverse: normal
WCom(0xa4);//display all points: off
WCom(0xa2);//Bias: 1/6
WCom(0xc8);//com direction: normal c8 or c0
WCom(0x25);//resistor ratio
WCom(0x81);WCom(0x18);//64 levels
WCom(0xf3);WCom(0x00);//reduce frame frequence
WCom(0x2c);//booster on
Delay(10);
WCom(0x2e);//regulator on
Delay(10);
WCom(0x2f);//follow on
Delay(10);
WCom(0xaf);//display on
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?