Hi Ken,
We can use a computer when a sledgehammer will do? Way back before dirt was invented people used 555 & 556 timer chips $0.15 to $0.25 US to do this. alternatively you could use the PIC to swing the duty cycle from an adjustable analog oscillator.