//-*-c++-*-
#ifndef INCLUDED_TestBehavior_h_
#define INCLUDED_TestBehavior_h_

#include "Behaviors/Leapers.h"

//! just a quick little demo behavior which lights up the LED with the same index number as the button which is pushed

#nodeclass TestBehavior : LeapMachine : setup
#statemachine

   startnode: StateNode

   red: RedLEDOn 

   yellow: YellowLEDOn

   green: GreenLEDOn

  
startnode =RND=> {red, yellow, green}

red =B(ChiaraInfo::RedButOffset)=> NodYes($, 1)



#endstatemachine
#endnodeclass

#endif
