count function on Bs2p
divster
Posts: 2
I am trying to measure frequency using the COUNT function in PBASIC. For the project I am working on, I need to get as high a count as i can get....but am unfortunately limited by the WORD size - 65535 max limit.
Is there anyway I can count to a higher number?
Is there anyway I can count to a higher number?
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA
Would ideally like to count to a million over 1 second - but anything over 65K would be a good start.
Is there any kind of flag or interrupt that overflows when the counter rolls over? Is there any such thing we can use to increase the counts?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com