I’m trying to control a rgb led strip with my FEZ Domino. I wan’t to cycle through colors in the end with a webpage where I can select a color and the strip is set to that color.
This is what I tried:
static PWM red = new PWM((PWM.Pin)FEZ_Pin.PWM.Di10); static PWM green = new PWM((PWM.Pin)FEZ_Pin.PWM.Di9); static PWM blue = new PWM((PWM.Pin)FEZ_Pin.PWM.Di8); red.Set(20000, 10); blue.Set(20000, 0); green.Set(20000, 0);
The red lights up more then the other colors, but I can’t set the other colors to “black” (off). Does anyone have some sample RGB PWM code?