Bachelorthesis/CanoeTest/Indi.can
2014-05-07 08:36:26 +00:00

21 lines
No EOL
442 B
Text

/*@!Encoding:1252*/
includes
{
}
variables
{
}
on message aaaMsg
{
putValue(aaaIndicator_A, this.switch_1A | this.switch_2A);
write("1A = %d, 2A = %d, A = %d", this.switch_1A, this.switch_2A, this.switch_1A | this.switch_2A);
}
on message bbbMsg
{
putValue(bbbIndicator_B, this.switch_1B | this.switch_2B);
write("1B = %d, 2B = %d, B = %d", this.switch_1B, this.switch_2B, this.switch_1B | this.switch_2B);
}