Update main.ts

This commit is contained in:
MiroChao 2020-01-02 10:56:40 +08:00 committed by Baozhu Zuo
parent f2f5a34bd5
commit 81b6a600cb

View File

@ -297,7 +297,7 @@ namespace grove {
} }
this.bit(0x7f, 0); this.bit(0x7f, 0);
} }
else else if(dispData < 10000)
{ {
this.bit(dispData % 10, 3); this.bit(dispData % 10, 3);
if(compare_01 > 90){ if(compare_01 > 90){
@ -316,6 +316,13 @@ namespace grove {
this.bit(Math.floor(dispData / 1000) % 10, 0); this.bit(Math.floor(dispData / 1000) % 10, 0);
} }
} }
else
{
this.bit(9, 3);
this.bit(9, 2);
this.bit(9, 1);
this.bit(9, 0);
}
} }
/** /**