Search found 1 match
- Wed Apr 24, 2024 4:48 pm
- Forum: ESP32 Arduino
- Topic: PCNT for 2 input signals
- Replies: 1
- Views: 2347
Re: PCNT for 2 input signals
Hey! I had a similar issue and solved it by using pcnt_isr_service_install and pcnt_isr_handler_add which allows you to use different ISRs for different units. The way I understand it, pcnt_isr_register just registers the same interrupt handler for all units. Here is my code: // Example code taken f...