On Nov 15, 2006, at 12:14 AM, migueltsilva wrote:
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
Commenting the line out is the right thing to do.
Kevin, is this fixed in CVS?
Phil
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help