|
South Georgia | I'm not sure that debouncing would be necessary in this situation. From what I understand, debounce is only an issue as you release a switch and the Arduino reads it as closing again momentarily, and that being an issue. If you release your boom raise/lower switch, then you'll be in manual control at that point anyway, so if the Arduino sees it as closed again momentarily, I don't think it'll have any noticeable effect. Likewise, if your 'auto' switch bounces again after being pressed, it won't matter if it sees it bouncing 'closed' again, if the only thing that switch does is engage 'auto'.
But that's a minor detail that doesn't have to be solved at this stage.
Adrian | |
|