Change read pulsin data to ms
Duke
Posts: 21
Hi,
I'm using Basic stamp 2P with pulse width·measuring work.
from·the·command·pulsin·I get·pulse·data in variable (word)
that·read 388
How can I convert this value to ms (milisec)
From the 2P's reference book, they says multiply by 0.8 to convert to microsec
but same pulse read by osciloscope don't seems to be equal to the calculation.
From scope I can read 0.6 ms.
Thank you in advance.
Duke..
I'm using Basic stamp 2P with pulse width·measuring work.
from·the·command·pulsin·I get·pulse·data in variable (word)
that·read 388
How can I convert this value to ms (milisec)
From the 2P's reference book, they says multiply by 0.8 to convert to microsec
but same pulse read by osciloscope don't seems to be equal to the calculation.
From scope I can read 0.6 ms.
Thank you in advance.
Duke..
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
PULSIN 12,1,P_SIG
I use mainio P12 as input , P_SIG as var word and monitor High Level Signal