Page 1 of 1

Toggle function problem

PostPosted: Fri Nov 24, 2023 6:58 am
by DynoDom

I try to set up a very simple output, on/off.
When I press the keypad button, the designated LED lights up and the output is being turned on, according to the "Monitor PDM" screen. As soon as I release the keypad button, the output turns off. At the moment, nothing is connected to the output pin.

Unfortunately I am unable to make the function to stay active. I have tried for hours, until my brain showed severe signs of numbness.

I do use the toggle function, yes.
This PDM also has a cooling fan being operated from another button on the keypad, there the output is toggled.

The file is not attached to this message, it can be attached later when I have access to the car again.

Any help will be greatly appreciated.

Re: Toggle function problem

PostPosted: Fri Nov 24, 2023 8:44 am
by SOReilly
Hi Dom,

I have attached an example config which shows two methods of controlling an output to toggle On/Off based on a keypad button press.

If you can upload your PDM config I can try help you troubleshoot further.

Re: Toggle function problem

PostPosted: Wed Nov 29, 2023 12:22 am
by DynoDom
Hi SOReilly

Thank you. It works now. The reason was the missing counter.

Best regards