pxt-calliope/sim/state/rgbled.ts
2016-09-27 13:35:48 -07:00

5 lines
109 B
TypeScript

namespace pxsim.basic {
export function setLedColor(c: number) {
board().rgbLedState = c;
}
}