📖⚡COUNT

Count the number of pulses on a pin during a time interval.

Syntax

COUNT InputPin, Duration ,WordVariable

Example

COUNT 0, 65535 , W0


' COUNT Example
' Count.txt
' Kic8

DO

  'Count pulses on pin0
  COUNT 0 , 65535 , W0

LOOP