Peter, thanks for chiming in. I added the parentheses. Still nothing, but it's a good point nevertheless.
Yes, FAR is greater than NEAR. In fact, the way I have the pots configured, NEAR can never be greater than FAR.
I just checked again; during the 5-second "blinky" phase, the SRF02 is quiescent. It then responds by pinging on command (I can "see" the ping with an ultrasonic receiver and a scope--and it's appearing about once a second, as it should).
Al, is there an error in the 16F688 manual? I'm looking at Table 1-1 (page 6) and it shows A4 as TTL in, CMOS out. (In fact, I can't find an OC legend anywhere on the chart!)
I'm fairly convinced the problem is somewhere in how I'm manipulating the data, or perhaps I have misdefined something.
Bookmarks