Quote Originally Posted by Russ Kincaid View Post
The waveform posted by Picuser is what I want the output to look like. The actual output is the inverse and I don't understand it. Perhaps my compiler is corrupted?
I'd highly doubt your compiler is corrupted, but maybe a reinstall is in order.
And I think post #16 might be your problem in the first place.