Best Answer Chris Walker, 28 January 2013 - 03:53 PM
Hi Graham, The period and duration you are specifying are too long for the PWM peripheral. The maximum period is ~65.5 ms. This is likely causing the time calculation code to get very angry; we'll see if we can make it throw an ArgumentOutOfRangeException in a future release instead. If your board has locked you out, please erase and reflash it using the instructions for the latest firmware (sticky post at the top of this thread). That should get you back up and running. Chris Go to the full post