//-*-c++-*-
#ifndef INCLUDED_test_h
#define INCLUDED_test_h_

#include "Behaviors/Leapers.h"

// Just a quick little demo behavior - when a button is pressed, this will
// light up the LED which happens to have the same index number as the
// button that was pressed

//! just a quick little demo behavior which lights up the LED with the same index number as the button which is pushed
class TestBehavior : public StateNode {
public:
	TestBehavior()
		: StateNode("TestBehavior")
	{}
	
	virtual void DoStart() {
	}

	virtual void setup() {
#statemachine
	startnode: RedLEDOn =T(1000)=> RedLEDOff =T(1000)=> NodYes =T(1000)=> Speak($, "done")
#endstatemachine
	}
};

#endif
