dseq32_matrix
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
dseq32_matrix [2006/08/13 23:53] – mess | dseq32_matrix [2006/10/15 09:35] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 12: | Line 12: | ||
[[http:// | [[http:// | ||
+ | //*note: schematics not finished!// | ||
==== Software ==== | ==== Software ==== | ||
in main.c:\\ | in main.c:\\ | ||
Line 83: | Line 83: | ||
... | ... | ||
</ | </ | ||
+ | |||
+ | ==== Appendum ==== | ||
+ | To avoid flickering leds when pushing a button | ||
+ | the MIOS button debouncing should be turned off!! | ||
+ | |||
+ | Due to the setup of the SRIO driver the debounce algoritm | ||
+ | also delays the DOUT chain when a DIN event is being debounced. | ||
+ | So when a button is pushed the led update frequency is reduced, | ||
+ | the higher the debounce value, the lower the update frequency. | ||
+ | |||
+ | According to this post TK will fix this in a future MIOS release: | ||
+ | >This is something what I'm planning to solve in one of the next MIOS versions - currently the same SR scanning routine is used for DIN and DOUT registers, which means, >when the DINs are temporary disabled due to the cheap debouncing method, the DOUT registers won't be updated. | ||
+ | \\ | ||
+ | >The solution is to add a second scan routine which only services the DOUTs so long the debouncing delay is active. | ||
+ | \\ | ||
+ | |||
+ | In the meantime THIS ISSUE IS SOLVED WITH MIOS1.9c!!! | ||
+ | == Workaround == | ||
+ | To turn the debouncing off, set | ||
+ | < | ||
+ | #define DIN_DEBOUNCE_VALUE | ||
+ | </ | ||
+ | |||
back to [[DSEQ32]] | back to [[DSEQ32]] |
dseq32_matrix.1155513219.txt.gz · Last modified: 2006/10/15 09:35 (external edit)