i have a question. How to use all PWM channels on G120?
The enumeration Cpu.PWMChannel doesnt contains the channel for pin P3.26. Enum ends on channel PWM_7.
RedLed = new PWM(Cpu.PWMChannel.PWM_6, _freq, 0.5, false); //RGB Led P3.24 GreenLed = new PWM(Cpu.PWMChannel.PWM_7, 0.5, false); //RGB Led P3.25 BlueLed = new PWM(???, _freq, 0.5, false); //RGB Led P3.26
I used this as reference: http://wiki.tinyclr.com/index.php?title=G120HDR_Developer