# encoder/pulse counter

**URL:** https://forum.xod.io/t/encoder-pulse-counter/7148
**Category:** Uncategorized
**Created:** [May 12, 2025, 3:47am UTC](https://forum.xod.io/t/encoder-pulse-counter/7148 "2025-05-12T03:47:22Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![marj](https://avatars.discourse-cdn.com/v4/letter/m/f4b2a3/32.png) [@marj](https://forum.xod.io/u/marj)
#### Post date: [May 12, 2025, 3:47am UTC](https://forum.xod.io/t/encoder-pulse-counter/7148/1 "2025-05-12T03:47:22Z")

</div>

Hello everyone.

For my project I need to make a pulse counter (approx. 400/sec). The ideal solution seemed to be the “amperka/pc-interrupt” library, but after downloading it lights up red and when compiling it gives the error “xod/core/output-micros - is not found in the project” The second option was the “wayland/encoder” library  
But it doesn’t want to compile either. In both cases there is information not to use it with other interrupts, but the problem persists even if I open it in a new empty project. Anyone have an idea?

---

<div class="post-metadata">

### Author: ![gweimer](https://avatars.discourse-cdn.com/v4/letter/g/a9adbd/32.png) [@gweimer](https://forum.xod.io/u/gweimer)
#### Post date: [May 12, 2025, 4:01am UTC](https://forum.xod.io/t/encoder-pulse-counter/7148/2 "2025-05-12T04:01:05Z")

</div>

Have you tried the built-in xod/gpio/rise-interrupt?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/1X/eb7348baa04192c2ef932d1db54d44f09f8a7888.png) [@system](https://forum.xod.io/u/system)
#### Post date: [June 11, 2025, 4:01am UTC](https://forum.xod.io/t/encoder-pulse-counter/7148/3 "2025-06-11T04:01:20Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
