修复断电不彻底TM1650不能点亮问题
This commit is contained in:
parent
ff976ce814
commit
086439e1e2
@ -91,7 +91,7 @@ static void TM1650_Set(IIC_t *Channel, uint8_t Add, uint8_t Value)
|
|||||||
void TM1650_Display(IIC_t *Channel, uint16_t Value, uint8_t CHANNEL)
|
void TM1650_Display(IIC_t *Channel, uint16_t Value, uint8_t CHANNEL)
|
||||||
{
|
{
|
||||||
IIC_t *const IIC = Channel;
|
IIC_t *const IIC = Channel;
|
||||||
|
Init(); //每次显示以前初始化TM1650
|
||||||
if (CHANNEL == 1) //判断显示通道
|
if (CHANNEL == 1) //判断显示通道
|
||||||
{
|
{
|
||||||
TM1650_Set(IIC, DIG1, tab[25]); //显示|
|
TM1650_Set(IIC, DIG1, tab[25]); //显示|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user