virtual void setup() {

#statemachine

state11: LedNode [getMC()->clear();] =N=> {red1, howl1}

state12: LedNode [getMC()->clear();] =N=> {yellow1, barklow1}

state13: LedNode [getMC()->clear();] =N=> {green1, ping1}

state14: LedNode [getMC()->clear();] =N=> {blue1, toc1}

state21: LedNode [getMC()->clear();] =N=> {red2, howl2}

state22: LedNode [getMC()->clear();] =N=> {yellow2, barklow2}

state23: LedNode [getMC()->clear();] =N=> {green2, ping2}

state24: LedNode [getMC()->clear();] =N=> {blue2, toc2}

red1: LedNode [getMC()->set(RobotInfo::RedLEDMask, 1500);]

howl1: SoundNode($, "howl.wav")

yellow1: LedNode [getMC()->set(RobotInfo::YellowLEDMask, 1500);]

barklow1: SoundNode($, "barklow.wav")

green1: LedNode [getMC()->set(RobotInfo::GreenLEDMask, 1500);]

ping1: SoundNode($, "ping.wav")

blue1: LedNode [getMC()->set(RobotInfo::BlueLEDMask, 1500);]

toc1: SoundNode($, "toc.wav")

red2: LedNode [getMC()->set(RobotInfo::RedLEDMask, 1500);]

howl2: SoundNode($, "howl.wav")

yellow2: LedNode [getMC()->set(RobotInfo::YellowLEDMask, 1500);]

barklow2: SoundNode($, "barklow.wav")

green2: LedNode [getMC()->set(RobotInfo::GreenLEDMask, 1500);]

ping2: SoundNode($, "ping.wav")

blue2: LedNode [getMC()->set(RobotInfo::BlueLEDMask, 1500);]

toc2: SoundNode($, "toc.wav")

{red1, howl1} =C(1)=> state12

{yellow1, barklow1} =C(1)=> state13

{green1, ping1} =C(1)=> state14

{blue1, toc1} =C(1)=> state11

{red2, howl2} =C(1)=> state24

{yellow2, barklow2} =C(1)=> state21

{green2, ping2} =C(1)=> state22

{blue2, toc2} =C(1)=> state23

{red1, howl1}  =E(buttonEGID, RobotInfo::GreenButOffset, activateETID)=> state24

{yellow1, barklow1}  =E(buttonEGID, RobotInfo::GreenButOffset, activateETID)=> state21

{green1, ping1} =E(buttonEGID, RobotInfo::GreenButOffset, activateETID)=> state22

{blue1, toc1} =E(buttonEGID, RobotInfo::GreenButOffset, activateETID)=> state23

{red2, howl2}  =E(buttonEGID, RobotInfo::GreenButOffset, activateETID)=> state12

{yellow2, barklow2}  =E(buttonEGID, RobotInfo::GreenButOffset, activateETID)=> state13

{green2, ping2}  =E(buttonEGID, RobotInfo::GreenButOffset, activateETID)=> state14

{blue2, toc2}  =E(buttonEGID, RobotInfo::GreenButOffset, activateETID)=> state11

#endstatemachine

startnode = state11; }