I didn't think I could see real time values with MPSIM using a program written with PBP!
I will give it a try, I guess I have to invest a little time learning the Stimulus properly, I have done very little assembly and was able to test buttons triggering LEDs but when I started going deeper into this I kind of got distracted with PBP.

I am building an ultrasonic distance measurement device, I have seen some circuits here and there but I really want to fully understand what I am doing and build my own. I don't have any code to show just yet because I have started to isolate the different parts of my code and it doesn't look like any program right now.
What I am trying to achieve is using Daryl's Interrupts.
Using TMR1_INT I send HPWM and using INT_INT I detect the echo from the Rx on RB0.

I keep trying to tell myself that the PIC is running fast but I am always amazed with how much I underestimate the speed at witch it operates.

I think I am not too far from something, just wish I could slow down everything and observe what is going on during each operation of code (other than the operation itself)
I guess MPSIM is probably the way to go?

Mike