PulsIN with 28X2?

MoonGoon

Member
Hi there
This is a real amateur question.

Im trying to use the SRF05 range finder with a 28X2.
I cannot find anywhere how to use the PulsIN command with this chip,
But now with the 28X2 all the input pins are ports A through C, how do i tell it to use a port instead of a default input?
Or does the 28X2 use portC as its "default input pins" the same as 28X1?

Could i please just have some clarification on this.

Which Ports on a 28X2 are capable of using PulsIN or PulsOUT ?

im a little confused, i cant find a clarification in the manuals at all.
 

hippy

Ex-Staff (retired)
You simply choose which port and pin to use then specify that in the command ...

PulsIn B.1, 1, w0
PulsOut C.7, w1
 
Top