support for rgb led in simulator
This commit is contained in:
1 parent
cb280af783
commit
c4787e1028
5 files changed
+60
-21
No files matched your search
@@ -1,5 +1,6 @@
|
||||
namespace pxsim.basic {
|
||||
export function setLedColor(c: number) {
|
||||
board().rgbLedState = c;
|
||||
runtime.queueDisplayUpdate()
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user