Block that outputs a shade control signal y ∈ {0, 1} as follows:
y=0 and the input T becomes
greater than the parameter THigh, the output
switches to y=1.
y=1 and the input T becomes
less than the parameter TLow, the output
switches to y=0.