Counting DigitalIn

I wrote a very tiny library to count DigitalIn.(This is my first time to publish.)

I made it from "DebouncedIn". Thank you.

 

Pswitch

 

"count() " counts DigitalIn rising since last time you checked "count()",using "Ticker".

"read()" tells you DigitalIn right now.

 

Thanks to mbed and sharing.

 

Kero Sunutte


0 comments

You need to log in to post a comment