1) Go to sub directory [...]/apps/Blink
2) Digit:  make pc and enter (compiling)
3) Digit : export DBG=usr1 (for bash) or setenv DBG usr1 (for csh) or other (for other shells) and enter
4)Digit: ./build/pc/main 1 and enter
5) If you see 0:FIRED! in a infinite loop it works . (CTRL + C to stop execution)
6) If you want to see it in a GUI replace points from 4) with the followings:

4a) Digit: ./build/pc/main -gui 1 &
5a) go to /tools/java
6a) digit: java net.tinyos.sim.SimDriver -gui
7a) Click on the green triangle (play simulation)
8a) You should see the mote blinking red

Andrea


amit patel wrote:
 
 
hello sir
 
      i am starting work on this tinyos before one days  using nesC
sir give me  one complete coding of one inbuilt program in  tiny os
like Blink.nc.
       how to compile it.
        and how to see out put of this program
         and how will be the out put.
         and useful command information for see the output and for the compilation.
       then after i have to  do simulation between nodes.
     so give me informa! tion about it.
     i will be thank ful of you.
      and give me any contact no of you thats why i   can do contact to you.


Yahoo! Photos
Ring in the New Year with Photo Calendars. Add photos, events, holidays, whatever.

_______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to