Fix for issue 176: basic.showNumber timing in the simulator
- updated basic.cpp::showNumber to use printChar instead of print.
This commit is contained in:
parent
79462deb24
commit
c6ed665f84
@ -23,7 +23,7 @@ namespace basic {
|
|||||||
if (value < 0 || value >= 10) {
|
if (value < 0 || value >= 10) {
|
||||||
uBit.display.scroll(t, interval);
|
uBit.display.scroll(t, interval);
|
||||||
} else {
|
} else {
|
||||||
uBit.display.print(t.charAt(0), interval * 5);
|
uBit.display.printChar(t.charAt(0), interval * 5);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user