Bachelorthesis/CanoeTest/Indi.can

21 lines
442 B
Text
Raw Normal View History

2014-05-07 10:36:26 +02:00
/*@!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);
}