* <!-- end-user-doc -->
* @generated NOT
*/
public void turnDigital(HighLowValue digitalState)
{
BrickletIndustrialDigitalOut4 bricklet = getMbrick().getTinkerforgeDevice();
try {
if (digitalState == HighLowValue.HIGH) {
bricklet.setSelectedValues((short) mask, (short) mask);
} else if (digitalState == HighLowValue.LOW) {
bricklet.setSelectedValues((short) mask, (short) 0);
} else {
logger.error("{} unkown digitalState {}", LoggerConstants.TFMODELUPDATE, digitalState);
}
setDigitalState(digitalState);
} catch (TimeoutException e) {