ok but how do i get the 0.6 from 3/5
maybe (3/5)*254 ?
i do not want zero

also,

I removed these lines and it now compiles:
I thought I needed them...

'DEFINE CCP1_REG PORTC ‘ Hpwm 1 pin port, RIGHT
'DEFINE CCP1_BIT 2 ‘ Hpwm 1 pin bit
'DEFINE CCP2_REG PORTC ‘ Hpwm 2 pin port, LEFT
'DEFINE CCP2_BIT 1 ‘ Hpwm 2 pin bit
'DEFINE HPWM1_TIMER 1
'DEFINE HPWM2_TIMER 1

k