[Tinyos-contrib-commits] CVS: tinyos-1.x/contrib/wustl/apps/AgillaAgents/Tests/Reactions ThreeString-Out.ma, NONE, 1.1 ThreeString-React.ma, NONE, 1.1

Chien-Liang Fok chien-liang at users.sourceforge.net
Wed Sep 20 03:52:33 PDT 2006


Update of /cvsroot/tinyos/tinyos-1.x/contrib/wustl/apps/AgillaAgents/Tests/Reactions
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv32555

Added Files:
	ThreeString-Out.ma ThreeString-React.ma 
Log Message:
initial commit

--- NEW FILE: ThreeString-Out.ma ---
	pushn hel
	pushn aaa
	pushn snd
	pushc 3
	out
	halt
--- NEW FILE: ThreeString-React.ma ---
// register reaction for messages to send		
		pusht string
		pusht string
		pusht string
		pushc 3
		pushc SND_MSG
		regrxn
WAIT		wait

SND_MSG		remove
		pop		// pop number of fields
		pop		// "snd"
		pop		// string
		pop		// string
		pushc 25
		putled		// toggle red LED
		clear
		pushc WAIT	// ****** DEBUG  why is this necessay?
		endrxn


More information about the Tinyos-contrib-commits mailing list