Tinine Guru
 Joined: 30/03/2016 Location: United KingdomPosts: 1646 |
Posted: 08:21am 07 Sep 2022 |
|
|
|
Exactly, because we're talking minutes of development.
One Cog (CPU) dedicated to this purpose:
Exact 100mS sampling period (loop) and use WAITPEQ (wait-pin-equal) and WAITPNE (wait-pin-not-equal) to count the transitions.
Other cogs can be handling everything else such as comms, SD-card, VGA, etc. All in BASIC
Craig |