It is from a 3V pic. I didn't have the bottom of the waveform positioned at 0.X1 or X10 probe? If X10 probe is it correctly compensated?
The flat top of the waveform is only about 3.9V. Why is it so much the (assumed?) 5V PIC supply. Is anything else connected to the PWM output (other than the scope probe)?


Well it is it is in a zif socket/ breadboard type deal right now so maybe that is it?Stray wire/trace inductance?
That would be my thinking. The leading edge of a pulse waveform contains an infinite number of odd harmonics (think high frequencies here). You are working with a circuit on a breadboard type affair which due to its nature will induce all sorts of capacitance, inductance and assorted parasitic coupling effects. Should you wish to try something interesting while observing the ringing try and touch a few exposed terminals of any components, see what the ringing does with just a finger touch.It would appear to be resonance from stray circuit capacitance and inductance.
It may seem to pulsate at slower sweep speeds due to the undersampling of the high frequency transient at that sweep setting.
Still there.. Like I mentioned it is a zif socket and breadboard.@spinnaker
Add a 1k resistor from the output pin to ground and measure again.

Looks like a normal 'transmission line' high frequency reflection (ringing).
You don't have to keep an analog boat anchor around for that, just stay within the specs of your digital scope and know its limits.That why it's useful to have a good analog scope as a reality check when you see something strange, maybe the missing signal at some edges is an artifact of the digital scope.
My boat anchor analog (TEK2465DM 400MHz BW) has much better spec's than most of the affordable digital scopes on the market, I'll keep it.You don't have to keep an analog boat anchor around for that, just stay within the specs of your digital scope and know its limits.
Artifacts on a digital scope means the user didn't pay attention to the latter.
You don't have to keep an analog boat anchor around for that, just stay within the specs of your digital scope and know its limits.
Artifacts on a digital scope means the user didn't pay attention to the latter.