Misc output related subpage of GenBoard/UnderDevelopment/FirmWare
Also some general method (see interpretere below) to define functions for misc output actuation
- WOT_OUTPUT_TPS_THRESHOLD should be specified in config_t or dropped (misc outputs there)
- wot_output needs hysteresis
- miscX_activity needs hysteresis
Interpreter
There are more and more stuff that needs flexible configuration, without firmware recompile, eg. misc outputs. Currently condition is wired for most common function, RPM,MAP,TPS ranges
I think we cannot avoid a simple language/interpreter. Maybe a postscipt-like (but binary) code: words of 16 bits that are
- either push variable "..." to stack
- or operation "..." that takes N variables from stack, operates on them and places result on stack