# ADU Button Channels trigger logic

**URL:** <https://community.ecumaster.com/t/adu-button-channels-trigger-logic/1226>\
**Category:** ADU\
**Created:** [April 25, 2024, 4:35pm UTC](https://community.ecumaster.com/t/adu-button-channels-trigger-logic/1226 "2024-04-25T16:35:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ratbert](https://avatars.discourse-cdn.com/v4/letter/r/43a26b/32.png) [@Ratbert](https://community.ecumaster.com/u/Ratbert)\
**Post date:** [April 25, 2024, 4:35pm UTC](https://community.ecumaster.com/t/adu-button-channels-trigger-logic/1226/1 "2024-04-25T16:35:05Z")

</div>

Can you confirm that I understand the logic behind triggers for the button functions in the ADU?

First, are the channel states 0 (off) and 1 (on) or is it 0 (off) and other-than-zero (on)?

- For “Press” I assume the button function fires on a off to on transition

- For “Release” I assume it fires on a on to off transition

- For “Click” I’m assume it fires on a on to off transition but only if there was a off to to transition proceeding it within some maximum time window (what is the window?)

- For “Hold” I’m assume it fires when a off to on transition has then been maintained for a minimum time (what is the timer?)

Is that correct? I’m trying to design my data structures for integrating some 3rd party CANBus Input devices and don’t want to make assumptions.

---

<div class="post-metadata">

**Author:** ![Jan\_Matlag\_ECUMASTER](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ecumaster.com/jan_matlag_ecumaster/32/1466_2.png) [@Jan\_Matlag\_ECUMASTER](https://community.ecumaster.com/u/Jan_Matlag_ECUMASTER)\
**Post date:** [April 25, 2024, 7:49pm UTC](https://community.ecumaster.com/t/adu-button-channels-trigger-logic/1226/2 "2024-04-25T19:49:44Z")

</div>

“Press” - your assumption is good.  
“Release” - your assumption is good.  
“Click” - If you hold a button, but for less than 500ms, the “Click” will be triggered on the falling edge  
“Hold” - If you hold a button, but for more than 500ms the “Hold” will be triggered for one tick
