diff --git a/main.ts b/main.ts index a1e98e1..c088082 100644 --- a/main.ts +++ b/main.ts @@ -297,7 +297,7 @@ namespace grove { } this.bit(0x7f, 0); } - else + else if(dispData < 10000) { this.bit(dispData % 10, 3); if(compare_01 > 90){ @@ -316,6 +316,13 @@ namespace grove { 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); + } } /**