http://rusefi.com/forum/viewtopic.php?f=5&t=612
to get the ball rolling I want to migrate existing hard-coded fuel pump relay and cooling fan logic into using GPIO flexible logic. This would work as
fuel_pump = (time_since_boot < 4 seconds) OR (rpm > 0)
fan = (not fan && coolant > 90) OR (fan && coolant > 85)
User-defined expressions input would be a separate ticket at a later point
http://en.wikipedia.org/wiki/Reverse_Polish_notation would be used, so
fuel_pump = time_since_boot 4 less rpm 0 more OR
fan = fan NOT coolant 90 AND more fan coolant 85 more AND OR
Diff:
http://rusefi.com/wiki/index.php?title=Manual:Flexible_Logic