diff --git a/scripts/duty.sc b/scripts/duty.sc index 200fe88..648380f 100755 --- a/scripts/duty.sc +++ b/scripts/duty.sc @@ -1,8 +1,7 @@ -echo "#!type line" >#duty -duty 10 "MSP430 Core.active" CC2420.listen CC2420.transmit "Tmote Sky.0" >#duty -echo "#!" -echo "#!set 0 label CPU" >#duty -echo "#!set 1 label Listen" >#duty -echo "#!set 2 label Transmit" >#duty -echo "#!set 3 label LEDS" >#duty -echo "#!title Duty Cycle" >#duty \ No newline at end of file +echo "#!type line" | window duty +duty 10 "MSP430 Core.active" CC2420.listen CC2420.transmit "Tmote Sky.0" | window duty +echo "#!set 0 label CPU" | window duty +echo "#!set 1 label Listen" | window duty +echo "#!set 2 label Transmit" | window duty +echo "#!set 3 label LEDS" | window duty +echo "#!title Duty Cycle" | window duty \ No newline at end of file