Ohad Lutzky
Ohad Lutzky
Looking at the current documentation, the `Read` method is also documented as being affected by debouncing: https://github.com/periph/conn/blob/9ee6d812a51e97b7bdbf8215670286b0f22d5f04/gpio/gpioutil/debounce.go#L59-L62 This is significantly more complicated to implement than the `WaitForEdge` variant, which would...
I'm not sure how that would work... and I don't think it *can* work in the case of "user calls `Read` just once". Am I missing something?
Fair enough 😅 What do you think of my proposal?
Alright, started on this in #12, LMK what you think.