Madhuri, You will need to wire the DATA and CLOCK interfaces of tos/chips/sht11/SensirionSht11LogicP.nc to the respective ports of tos\chips\atm128\pins\HplAtm128GeneralIOC.nc. Also, wire the InterruptDATA interfaces of tos/chips/sht11/SensirionSht11LogicP.nc to a new instance of tos\chips\atm128\pins\Atm128GpioInterruptC.nc, which is further wired to the correct interface of tos\chips\atm128\pins\HplAtm128InterruptC.nc. The particular ports as well as the particular interrupt line depends on how the sht11 is hooked up to the mote in your design.
Janos On Tue, Jan 26, 2010 at 2:21 PM, Madhuri Revalla <[email protected]> wrote: > Hi, > > I am trying to read temperature in TinyOS2.X. I am using micaz. I am using > SensirionSht11C.nc > > But I am getting compilation errors: > In component `HplSensirionSht11C': > /opt/tinyos-2.x/tos/platforms/micaz/HplSensirionSht11C.nc:21: component > HplSensi > rionSht11P not found > In file included from > /opt/tinyos-2.x/tos/platforms/micaz/HplMsp430InterruptC.nc > :53, > from > /opt/tinyos-2.x/tos/platforms/micaz/HplSensirionSht11C.nc: > 29, > from > /opt/tinyos-2.x/tos/platforms/micaz/HalSensirionSht11C.nc: > 9, > from > /opt/tinyos-2.x/tos/platforms/micaz/SensirionSht11C.nc:11, > > from SenseAppC.nc:50: > In component `HplMsp430InterruptP': > /opt/tinyos-2.x/tos/platforms/micaz/HplMsp430InterruptP.nc:262: syntax error > bef > ore `}' > In component `HplSensirionSht11C': > /opt/tinyos-2.x/tos/platforms/micaz/HplSensirionSht11C.nc:11: cannot find > `Port1 > 5' > /opt/tinyos-2.x/tos/platforms/micaz/HplSensirionSht11C.nc:15: cannot find > `Port1 > 6' > /opt/tinyos-2.x/tos/platforms/micaz/HplSensirionSht11C.nc:19: cannot find > `Port1 > 7' > /opt/tinyos-2.x/tos/platforms/micaz/HplSensirionSht11C.nc:22: cannot find > `PWR' > /opt/tinyos-2.x/tos/platforms/micaz/HplSensirionSht11C.nc:23: cannot find > `DATA' > > /opt/tinyos-2.x/tos/platforms/micaz/HplSensirionSht11C.nc:24: cannot find > `SCK' > /opt/tinyos-2.x/tos/platforms/micaz/HplSensirionSht11C.nc:27: cannot find > `Timer > ' > /opt/tinyos-2.x/tos/platforms/micaz/HplSensirionSht11C.nc:31: cannot find > `Port1 > 5' > /opt/tinyos-2.x/tos/platforms/micaz/HplSensirionSht11C.nc:38: no match > /opt/tinyos-2.x/tos/platforms/micaz/HplSensirionSht11C.nc:39: cannot find > `Init' > > make: *** [exe0] Error 1 > > > How to overcome this errors. I nee your help. > > > Thanks in advance... > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
