whc-whb04b-6 button debounce

More
30 Mar 2025 19:43 - 31 Mar 2025 00:17 #325343 by vedatech
whc-whb04b-6 button debounce was created by vedatech
In the whc-whb04b-6.hal example code I downloaded I don't see any debounce filters. Are the pendant buttons debounced in the component or do I need to debounce the bit pins in the .hal file?
Last edit: 31 Mar 2025 00:17 by vedatech.

Please Log in or Create an account to join the conversation.

  • Todd Zuercher
  • Todd Zuercher's Avatar
  • Away
  • Platinum Member
  • Platinum Member
More
31 Mar 2025 12:09 - 31 Mar 2025 12:10 #325387 by Todd Zuercher
Replied by Todd Zuercher on topic whc-whb04b-6 button debounce
Have you looked at your input signals from the button inputs with halscope? It is entirely possible that the way the signals are processed and transmitted within the device's hardware makes adding debounce filtering of the button inputs unnecessary or redundant. If you find that the signals need to be debounced you will probably need to either do it with a hal debounce component or rewrite the whc-whb04b driver to add that feature your self.
Last edit: 31 Mar 2025 12:10 by Todd Zuercher.

Please Log in or Create an account to join the conversation.

More
01 Apr 2025 19:54 #325477 by vedatech
Replied by vedatech on topic whc-whb04b-6 button debounce
I did check a few of the whc-whb04b-6 buttons with halscope and they look clean so I guess the answer is that the pendant buttons don't need debounce in the .hal file

Please Log in or Create an account to join the conversation.

Time to create page: 0.087 seconds
Powered by Kunena Forum