6 lines
146 B
TypeScript
6 lines
146 B
TypeScript
namespace pxsim.basic {
|
|
export function setLedColor(c: number) {
|
|
board().rgbLedState = c;
|
|
runtime.queueDisplayUpdate()
|
|
}
|
|
} |