Hi @jeffbelz,
I think thread with for(;;){gpiod_line_event_wait(); …} is the right way to use GPIO interrupts. From this thread you may call some simple callbacks or use pthread_cond_signal() to unlock other waiting threads
Edward
Hi @jeffbelz,
I think thread with for(;;){gpiod_line_event_wait(); …} is the right way to use GPIO interrupts. From this thread you may call some simple callbacks or use pthread_cond_signal() to unlock other waiting threads
Edward