limited support for RGB led
This commit is contained in:
5
sim/state/rgbled.ts
Normal file
5
sim/state/rgbled.ts
Normal file
@ -0,0 +1,5 @@
|
||||
namespace pxsim.basic {
|
||||
export function setLedColor(c: number) {
|
||||
board().rgbLedState = c;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user