Hi, kindly check if this should be the right pins assignment.
PortD.0 to input3 of l298
PortD.1 to input4 of l28
PortC.0 to enable of l298
by henrik: I'm surprised if that code even compiles.
Really sorry..next time I will double check before uploading.
Code:
PWM PORTD.0, 127,100
PWM PORTD.1, 127,100
PortC.0 = 1

Hope I'm close...

/tacbanon