[SOLVED] How to read a pulse