Hi
So i want a PWM on NHET[0] and have created the required code using the tutorials and HET IDE but this is a very static way.
L00 CNT {reg=A, max=566665, data=0}
L01 ECMP {next=L00,hr_lr=HIGH,en_pin_action=ON,pin=0,action=PULSEHI,reg=A,data=0,hr_data=0}
What i want though is to have the main cpu application occasionally change the duty cycle. I gather i have to use the HTU to load in the required values which is fine, But what i cant figure out is how i use the transferred value in the list HET code.
Im sure this is a common task so im sure this can be easily answered.
Thanks
James