# PMU Press/Hold Switch

**URL:** <https://community.ecumaster.com/t/pmu-press-hold-switch/4129>\
**Category:** PMU\
**Created:** [July 26, 2025, 7:08am UTC](https://community.ecumaster.com/t/pmu-press-hold-switch/4129 "2025-07-26T07:08:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Roger.W](https://avatars.discourse-cdn.com/v4/letter/r/f19dbf/32.png) [@Roger.W](https://community.ecumaster.com/u/Roger.W)\
**Post date:** [July 26, 2025, 7:08am UTC](https://community.ecumaster.com/t/pmu-press-hold-switch/4129/1 "2025-07-26T07:08:02Z")

</div>

Hi,

In the PMU, I created a Switch, set its Switch Type to Press/Hold Switch, and set the Last State to 2. The Input Channel Up is connected to a button on the steering wheel.

What I’m trying to achieve is:

A short press of the button should trigger a Flash function (e.g., flash high beams),

A long press should turn on the low beam.

However, after setting everything up, I noticed that when I perform a long press on the button, the Switch state transitions from 1 to 2. This causes the Flash function (linked to state 1) to trigger before the long-press action (state 2) can activate the low beam.

Is there a way to prevent the short-press function from being triggered when I perform a long press?

---

<div class="post-metadata">

**Author:** ![FloorItGarage](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ecumaster.com/flooritgarage/32/61_2.png) [@FloorItGarage](https://community.ecumaster.com/u/FloorItGarage)\
**Post date:** [July 27, 2025, 6:42am UTC](https://community.ecumaster.com/t/pmu-press-hold-switch/4129/2 "2025-07-27T06:42:06Z")

</div>

[cool suit + helmet blower button sequence.pmu](https://community.ecumaster.com/uploads/short-url/7nsIBsChaYfaCpNuN8AY4ocdN3d.pmu) (4.1 KB)

I had a similar want for a single CAN button to control a helmet blower and cool suit. it was complicated but take a look at the attached file for how I did it
