[Tinyos-contrib-commits]
CVS: tinyos-1.x/contrib/wustl/apps/AgillaAgents/Oscilloscope
Oscilloscope_5_loc.ma, 1.1, 1.2 Oscope_1_loc.ma, 1.1,
1.2 README, 1.1, 1.2
Chien-Liang Fok
chien-liang at users.sourceforge.net
Thu May 18 14:13:31 PDT 2006
Update of /cvsroot/tinyos/tinyos-1.x/contrib/wustl/apps/AgillaAgents/Oscilloscope
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv19324/contrib/wustl/apps/AgillaAgents/Oscilloscope
Modified Files:
Oscilloscope_5_loc.ma Oscope_1_loc.ma README
Log Message:
Index: Oscilloscope_5_loc.ma
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/contrib/wustl/apps/AgillaAgents/Oscilloscope/Oscilloscope_5_loc.ma,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Oscilloscope_5_loc.ma 13 Oct 2005 17:12:18 -0000 1.1
--- Oscilloscope_5_loc.ma 18 May 2006 21:13:28 -0000 1.2
***************
*** 1,23 ****
! BEGIN pushc 26
! putled // toggle green LED
! pushc 0
! setvar 0 // heap[0] = 0
! LOOP getvar 0
! pushc 5
! ceq
! rjumpc SENDTUPLE // jump to SENDTUPLE if took 5 temperature readings
! pushc accelx
! sense // take a temperature reading
! getvar 0
! inc
! setvar 0 // increment the counter stored in heap[0]
! pushc 25
! putled // toggle the red LED
! pushc 1
! sleep
! rjumpc LOOP
! SENDTUPLE pushc 5
! pushloc UART_X UART_Y
! rout // OUT a tuple containing 5 temperature readings to (0,0)
! pushc BEGIN
! jumps
--- 1,23 ----
! BEGIN pushc 26
! putled // toggle green LED
! pushc 0
! setvar 0 // heap[0] = 0
! LOOP getvar 0
! pushc 5
! ceq
! rjumpc SENDTUPLE // jump to SENDTUPLE if took 5 temperature readings
! pushc accelx
! sense // take a temperature reading
! getvar 0
! inc
! setvar 0 // increment the counter stored in heap[0]
! pushc 25
! putled // toggle the red LED
! pushc 1
! sleep
! rjumpc LOOP
! SENDTUPLE pushc 5
! pushloc UART_X UART_Y
! rout // OUT a tuple containing 5 temperature readings to (0,0)
! pushc BEGIN
! jumps
Index: Oscope_1_loc.ma
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/contrib/wustl/apps/AgillaAgents/Oscilloscope/Oscope_1_loc.ma,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Oscope_1_loc.ma 13 Oct 2005 17:12:18 -0000 1.1
--- Oscope_1_loc.ma 18 May 2006 21:13:28 -0000 1.2
***************
*** 1,16 ****
! pushc 0
! setvar 0
! BEGIN pushc 26
! putled // toggle green LED
! getvar 0
! copy
! inc
! setvar 0
! pushc accelx
! sense // sense x axis of accelerometer
! pushc 2
! pushloc uart_x uart_y
! rout // remote out tuple containing temperature reading to laptop
! pushc 1
! sleep
! rjump BEGIN
--- 1,16 ----
! pushc 0
! setvar 0
! BEGIN pushc 26
! putled // toggle green LED
! getvar 0
! copy
! inc
! setvar 0
! pushc accelx
! sense // sense x axis of accelerometer
! pushc 2
! pushloc uart_x uart_y
! rout // remote out tuple containing temperature reading to laptop
! pushc 1
! sleep
! rjump BEGIN
Index: README
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/contrib/wustl/apps/AgillaAgents/Oscilloscope/README,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** README 13 Oct 2005 17:12:18 -0000 1.1
--- README 18 May 2006 21:13:28 -0000 1.2
***************
*** 1,15 ****
! This is an example application that uses mobile agents to
! collect light readings for display on an oscilloscope GUI.
!
! Run it by injecting an Oscilloscope agent and loading the
! Oscilloscope client on the AgentInjector by going to
! Experiments -> Show Oscope.
!
! There are two types of Oscilloscope agents:
! 1) OscopeOneReadingPerMsg.ma
! 2) OscilloscopeFiveReadingsPerMsg.ma
!
! The first agent sends a single sensor reading at a time
! while the second sends 5 sensor readings at a time. The first
! agent is able to detect dropped packets, whereas the second
one cannot.
\ No newline at end of file
--- 1,15 ----
! This is an example application that uses mobile agents to
! collect light readings for display on an oscilloscope GUI.
!
! Run it by injecting an Oscilloscope agent and loading the
! Oscilloscope client on the AgentInjector by going to
! Experiments -> Show Oscope.
!
! There are two types of Oscilloscope agents:
! 1) OscopeOneReadingPerMsg.ma
! 2) OscilloscopeFiveReadingsPerMsg.ma
!
! The first agent sends a single sensor reading at a time
! while the second sends 5 sensor readings at a time. The first
! agent is able to detect dropped packets, whereas the second
one cannot.
\ No newline at end of file
More information about the Tinyos-contrib-commits
mailing list