tinyos-helper,hi!
         I write a clocktestM module to test the clock frequence.But after i 
make pc and run it in gdb,
it can not print the variable timecount. The command i use is "p 
*clocktestM$timeCount" ,and gdb said that No symbol "clocktestM$timeCount" in 
current context. And then i found there is even no timeCount variable in app.c!
        
        Can any one can tell me the reason?Thx


here is part of my code :
module clocktestM
{provides  interface StdControl;
  uses     {
        interface Clock;
    interface  Leds;
        }
  }
implementation
        {       
        
        uint32_t timeCount=0;
      char myscale,myinterval;
                command result_t StdControl.init(){
                call Leds.init();
                call Clock.setRate(32, 1) ;
                call Leds.yellowOn();
                return  SUCCESS;
                }

        command result_t StdControl.start(){
                call Leds.greenOn();
                return SUCCESS;
                }
        
        ..............................
.......
....                    

        roy  liu ^-^
[EMAIL PROTECTED]
          2006-11-29

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

Reply via email to