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:
Sam El-Husseini 2016-07-28 15:04:56 -07:00
parent 79462deb24
commit c6ed665f84

View File

@ -23,7 +23,7 @@ namespace basic {
if (value < 0 || value >= 10) {
uBit.display.scroll(t, interval);
} else {
uBit.display.print(t.charAt(0), interval * 5);
uBit.display.printChar(t.charAt(0), interval * 5);
}
}