In Lesson1 of tutorial,I read:
"Concerning used interfaces, it is important to note that subcomponent 
initialization functions must be explicitly called by the using component. For 
example, the BlinkM module uses the interface Leds, so Leds.init() is called 
explicitly in BlinkM.init(). "

I an confusing.The Module BlinkM is also used SingleTimer,why SingleTimer's 
initialization is perform by
     Main.StdControl -> SingleTimer.StdControl;in file Blink.nc

//
Maybe this is a simple problem ,but so confusing me,would u like give me 
explanition?

3ks !
_______________________________________________
Tinyos-users mailing list
[email protected]
http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users

Reply via email to