know from what i can see here that there is no easy way to both measure a pulse and then it next immediate rising or falling going pulse , am i correct in this ???
Maybe not using pulsin,but you could always use hardware capture if the pic has it.