mist()

Controls the mist coolant system.

If called with no arguments, it toggles the mist coolant state.
If called with one argument, it explicitly turns the mist coolant on (`1`) or off (`0`).

Syntax

mist()
mist(state)

Parameters

Parameter Type Description
state Number (Optional) `1` to turn on, `0` to turn off. optional

Return Value

Examples

Toggle mist coolant

mist();  

Turn on mist coolant

mist(1);

Turn off mist coolant

mist(0);

See also

output
output_pwm
output_rc

mist
flood
spindle

extout1
extout2