Ex 2, still needs the peripheral organization.
Small modification to the ex2 code to allow .5 and 5000 Hz 50% PWM signals