Search found 2 matches
- Thu Feb 27, 2025 2:20 am
- Forum: Hardware
- Topic: GPIO interrupt handler not firing on ESP32-C6
- Replies: 2
- Views: 1724
Re: GPIO interrupt handler not firing on ESP32-C6
Nevermind... I found my silly mistake. I passed a number instead of bitmask to `io_conf.pin_bit_mask`. *Facepalm*
- Wed Feb 26, 2025 7:55 pm
- Forum: Hardware
- Topic: GPIO interrupt handler not firing on ESP32-C6
- Replies: 2
- Views: 1724
GPIO interrupt handler not firing on ESP32-C6
I wired up a simple pull-up circuit with a button and a resistor to manually toggle the value of a pin. I wanted to see an edge interrupt fire. However the interrupt is not firing, even though I *see* the value of the pin changing. Here is my code:
#include <stdio.h>
#include <string.h>
#include ...
#include <stdio.h>
#include <string.h>
#include ...