nodesign / weio

weio
http://we-io.net
128 stars 35 forks source link

Default debounce time for interrupt is too short #204

Closed ks156 closed 9 years ago

ks156 commented 9 years ago

The default debounce delay for interrupts is fixed at 50us. This is usually too short for most applications (encoder, switches, and basically UI devices). This default delay should be increased at, say, 10ms. This will improve the user experience for users who don't know much the hardware. In addition, this parameter must be well explained in the documentation and the default delay must be explicitly indicated.

ks156 commented 9 years ago

@ukicar : 10ms, OK for you ?

ukicar commented 9 years ago

Ok for me

ks156 commented 9 years ago

I made a mistake. Default debounce time is 50ms, not 50us.

drasko commented 9 years ago

OK for me.