support for rgb led in simulator

This commit is contained in:
Peli de Halleux
2016-10-11 11:41:51 -07:00
parent cb280af783
commit c4787e1028
5 changed files with 60 additions and 21 deletions

View File

@ -1,5 +1,6 @@
namespace pxsim.basic {
export function setLedColor(c: number) {
board().rgbLedState = c;
runtime.queueDisplayUpdate()
}
}