Quote Originally Posted by geckogrotto View Post
I just got a scope recently and don't know everything about it but enough to play with it.

The signal im reading is about 300 mv and its a square wave.
Depending on the signal being sent the frequency changes.
Looks like in one state its repeating every 14ms and the other state its repeating every 6.5ms.

How do I read this information in on a pic in picbasic to see what its at?
PulsIn GPIO.4, 1,Pulselen
PulsIn GPIO.4, 0,Pulselen2
Both return 0 do I need a pullup or down on the signal or to use another command?
What version of PBP are you using?

Are the PulselenX variables bytes or words? Probably should be words...

Are both of your grounds (the PIC and the signal being checked) connected? Probably can't check another signal with one wire, gotta have a common ground.

How fast is your OSC? The pulsin command might time-out before the pulse ends or the pulse width might be too long, both possibly because your OSC is too fast.