ok i revert the new filtering parameters :tzok wrote: ↑Sun Feb 18, 2018 12:11 pmEntering/exiting directories now works ok, but encoder is almost impossible to use. Now I have to turn it really fast to have any effect.
I don't know much about STM32 but why polling, not interrupts? You've got 16 different pin change interrupts there. Polling buttons and encoder eats up a lot of CPU time.
I thing someone else already asked for it - I thing it would be nice to exit directory to the same position it was entered from. So If I had directories A, B, C, D, and I've entered C, then choose .., I go back to C, not A.
https://hxc2001.com/download/floppy_driv ... CUSBFE.UPD
better ?
Polling is not the exact term. Periodically checked is a better one .
I prefer to avoid any direct interrupt from stuff subject to bouncing...