SoftPWM library on DUE

Hello!

I have a problem with Arduino DUE. I want to set a frequency of 50 or 60 HZ on pin 9 and control the duty cycle.

I searched on how to change the frequency but with no luck. Or it is too complex for me. So i found a library witten by a member and it complies great for a 8- bit processor.

But when i try to complie for DUE it throws an error.

test_DUE.ino:9:20: fatal error: avr/io.h: No such file or directory
compilation terminated.

the avr/io.h lies insode the SoftPWM library. My knowledge is very limited when it comes this far.

So i'm asking did anyone made the library work or is there a simpler way.

Thank you!