[Tinyos-help] Arbiter.Init error in HplSensirionSht11C.nc

migueltsilva migueltsilva at netcabo.pt
Wed Nov 15 00:14:42 PST 2006


Hello
I'am trying to modify the Oscilloscope to samples the sensor Temperature in telosb.
To do this I create a file TemperatureC.nc in /tos/platforms/telosb/ 
"
generic configuration TemperatureC() {
  provides interface Read<uint16_t>;
}
implementation {
  components new SensirionSht11C();
  Read = SensirionSht11C.Temperature;
}"

In my app os Oscilloscope I do 
" ...
implementation {
  components ..., new TemperatureC() as Temp;}
"

But it gave me error:
In component `HplSensirionSht11C':
/opt/tinyos-2.x/tos/platforms/telosa/chips/sht11/HplSensirionSht11C.nc:81: cannot find `Init'

This is because this line "SplitControlPowerManagerC.ArbiterInit -> Arbiter.Init;"
If I comment the line works fine, but is another way to resolve the problem?
Tanks in advance Miguel Silva




More information about the Tinyos-help mailing list