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