Tinyviz , if I am not wrong, cannot run two different programs.
You should do a program like this:
 
StdControl.start() {
 
 
if (TOS_LOCAL_ADDRESS == 1) {
// run code of program 1
}
 
else if (TOS_LOCAL_ADDRESS == 2) {
// run code of program 2
}
 
}
 
Andrea
----- Original Message -----
From: 이동훈
Sent: Thursday, December 22, 2005 8:52 AM
Subject: [TinyOS-Help]Running two programs in tinyviz

Hi,

I want to run two programs in tinyviz.

e.g. one is sink program and the other is general mote program.

Could anyone please help me?


_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help



----
Email.it, the professional e-mail, gratis per te:clicca qui

Sponsor:
Hai dei virus sul tuo PC ma non sai come eliminarli? Allora impara subito come rimuovere ogni tipo di virus - clicca qui
Clicca qui


_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to