Sim screen canvas implementation and _setPixel.

This commit is contained in:
Sam El-Husseini
2017-07-12 10:25:17 +03:00
parent 340d5e5cbf
commit 8215e8446a
6 changed files with 197 additions and 38 deletions

View File

@ -11,7 +11,7 @@ namespace pxsim {
namespace pxsim.output {
export function setLights(pattern: number){
export function setLights(pattern: number) {
const lightState = (board() as DalBoard).lightState;
lightState.lightPattern = pattern;
runtime.queueDisplayUpdate();