pxt-calliope/sim/state/rgbled.ts

5 lines
109 B
TypeScript
Raw Normal View History

2016-09-27 22:35:48 +02:00
namespace pxsim.basic {
export function setLedColor(c: number) {
board().rgbLedState = c;
}
}