Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Best way to count gpio frequency

Featured Replies

I need to count frequency about 1 Khz on GPIO input pin. Is it possible and what is the best way to do this?

 

Tried WrinigOP  isr.c but no luck.

 

Thanks.

 

I added GPIO interrupt callbacks to my ArmbianIO library (https://github.com/bitbank2/ArmbianIO)

 

It should be able to handle that frequency if you make the callback function simple (e.g. increment a counter).

Guest
This topic is now closed to further replies.

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.