The duty cycle of the PWM0 line.

  1. Enable PWM0 output (P0 = 2).

  2. Change M0 to the desired value.

  3. Apply settings (use CN or AC).

The PWM period is 1 ms and there are 0x03FF (1023 decimal) steps within this period. When M0 = 0 (0% PWM), 0x01FF (50% PWM), 0x03FF (100% PWM), and so forth.

Parameter range

0 - 0x3FF

Default

0