@zapta said in My wish : Inputs debouncing:
@fcwilt said in My wish : Inputs debouncing:
Some things, like filament sensors, would perhaps be best implemented with dedicated hardware.
Is this because their timing need to be consistent?
Yes
The signal out from the sensor may be quite rapid but I've never studied filament sensors that actually monitor filament movement so I have no idea what the signal out actually is.
For things like push buttons operated by a person the response time is not critical and, if I recall, anything less than 250mS appears to be "instant".
De-bouncing in software is going to introduce an unavoidable delay before it can be determined that the input signal is valid and that any bouncing has ended.
If that delay would prevent the input device from working correctly than using hardware de-bounce will eliminate that delay.
Frederick