support for rgb led in simulator
This commit is contained in:
		@@ -1,5 +1,6 @@
 | 
			
		||||
namespace pxsim.basic {
 | 
			
		||||
    export function setLedColor(c: number) {
 | 
			
		||||
        board().rgbLedState = c;
 | 
			
		||||
        runtime.queueDisplayUpdate()
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user