Hello,
@Fmilburn
Thanks alot. I found the solution in the link you posted
this worked for me:
#include <wiring_analog.c>
void setup() {
pinMode(PL_4, OUTPUT);
PWMWrite(PL_4,1000,50,50); // PWMWrite(PINnumber, number of steps, dutycycle, frequency);
}