News for hackers. Stuff that matters.
Re:Nubsio GPIO API – A Windows USB interface for controlling... by jononor on Monday April 03, 2017 @10:46AM (#14023096)
Don't send serial messages in an interrupt, that is crazy. Just set a flag indicating what happened (or use a queue). Then in your main loop check the flag. If the loop is not able to clear it fast enough, report it as an error. You can handle signals at 100kHz+ with such a technique.

But yes, might very well want some configurable low-pass/debouncing logic.

There are no comments on this comment yet.