After some googling I found out that this PWM class is used, but its a old version of PWM class as the PWM class does take 4/5 arguments, not one.
So, could I get some quick help?
How do I use PWM class? I think PWM(Cpu.PWMChannel.?, period, duration, invert) would be the easiest to use. But what PWMChannel to use, and what pin is that on my N2?
Can I just write:
PWM pwm = new PWM(Cpu.PWMChannel.PWM_7, 100, .5, false);pwm.Start();