most likely it is a leftover that someone forgot to remove, the common use for the ADCControl interface is to set the clock prescaler (conversion rate) using setSamplingRate(). MS
Zhao Stephen wrote:
I have one question to lesson 2 of tos tutorial. "SenseM" uses an interface named as "ADCControl" but it does not appear in implementation code. I can not understand why "SensM" use this interface? on the other hand, in "Sense.nc" file there are two line like "Main.StdControl -> Sensor;" and "SenseM.ADCControl -> Sensor;". I think there is a redundancy here? Thanks in advance. _______________________________________________ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help