Does BASCOM-AVR have a command similar to the PBASIC "COUNT" command? BASCOM-AVR has a "PULSEIN" command but I'm not sure of what it does. Will "pulsin" help count incoming pulses, or give the time between incoming pulses?
How does the 'pulsein' command work? What value does it return?
From BASCOM-AVR Help
PIND? What's that?
Help will be greatly appreciated
Pat
What "units" does it return?From BASCOM-AVR Help
Action
Returns the number of units between two occurrences of an edge of a pulse.
How does the 'pulsein' command work? What value does it return?
From BASCOM-AVR Help
PINX?Syntax
PULSEIN var , PINX , PIN , STATE
Remarks: PINX A PIN register like PIND
PIND? What's that?
Help will be greatly appreciated
Pat