Page 1 of 1

How to control output based on input conditions

Posted: Tue Oct 11, 2022 8:05 pm
by Suprazz
Hi,
I'm new to rusefi and I'm currently working on a Proteus.

I started to read the doc but can't figure out what is the best way to configure an output based on inputs.
Example
If map is over 130 kpa and rpm over 3300, enable this output (to trigger a vsv valve).

From what I read, I need to use the LUA Script?

is there an other better way to do this?
Thanks

Re: How to control output based on input conditions

Posted: Tue Oct 11, 2022 8:06 pm
by mck1117
For simpler conditions like that, have a look at GPPWM.

For anything much more complicated like that, then Lua.

Re: How to control output based on input conditions

Posted: Thu Oct 13, 2022 12:32 pm
by Suprazz
yes that will do it. I didnt realized that the generic pwm have the option to be used in on/off mode too. Only downside is only 4 is available but I only need 3 right now so I'm ok!
Thanks!