added two example scripts

This commit is contained in:
fros4943 2009-10-29 14:39:08 +00:00
parent 62c8535678
commit 54ac5bc64e
3 changed files with 44 additions and 2 deletions

View file

@ -0,0 +1,13 @@
/*
* Example Contiki test script (JavaScript).
* A Contiki test script acts on mote output, such as via printf()'s.
* The script may operate on the following variables:
* Mote mote, int id, String msg
*/
TIMEOUT(60000);
while (true) {
log.log(time + ":" + id + ":" + msg + "\n");
YIELD();
}