int32.bipolar in
int32.bipolar out
bool32 hit
spinner in0
spinner out0
spinner in1
spinner out1
spinner in2
spinner out2
spinner in3
spinner out3
uint8_t outValue;
outValue = 0;
switch (inlet_in) {
case attr_in0:
outlet_hit = true;
outValue = attr_out0;
break;
case attr_in1:
outlet_hit = true;
outValue = attr_out1;
break;
case attr_in2:
outlet_hit = true;
outValue = attr_out2;
break;
case attr_in3:
outlet_hit = true;
outValue = attr_out3;
break;
default:
outlet_hit = false;
}
outlet_out = outValue;