Hello guys I'm trying to port the Sht11 driver on telosa to meshnetics (meshbean platform using the zigbit amp module). zigbit uses AT1281.
I'm mainly down to one file after rummaging through all levels of abstraction: $TOSROOT/tos/platforms/telosa/chips/sht11/HplSensirionSht11C.nc ...................................................................................................................... configuration HplSensirionSht11C { provides interface Resource[ uint8_t id ]; provides interface GeneralIO as DATA; provides interface GeneralIO as SCK; provides interface GpioInterrupt as InterruptDATA; } implementation { components HplMsp430GeneralIOC; components new Msp430GpioC() as DATAM; components new Msp430GpioC() as SCKM; components new Msp430GpioC() as PWRM; DATAM -> HplMsp430GeneralIOC.Port15; SCKM -> HplMsp430GeneralIOC.Port16; PWRM -> HplMsp430GeneralIOC.Port17; DATA = DATAM; SCK = SCKM; components HplSensirionSht11P; HplSensirionSht11P.PWR -> PWRM; HplSensirionSht11P.DATA -> DATAM; HplSensirionSht11P.SCK -> SCKM; components new TimerMilliC(); HplSensirionSht11P.Timer -> TimerMilliC; components HplMsp430InterruptC; components new Msp430InterruptC() as InterruptDATAC; InterruptDATAC.HplInterrupt -> HplMsp430InterruptC.Port15; InterruptDATA = InterruptDATAC.Interrupt; components new FcfsArbiterC( "Sht11.Resource" ) as Arbiter; Resource = Arbiter; components new SplitControlPowerManagerC(); SplitControlPowerManagerC.SplitControl -> HplSensirionSht11P; SplitControlPowerManagerC.ArbiterInfo -> Arbiter.ArbiterInfo; SplitControlPowerManagerC.ResourceDefaultOwner -> Arbiter.ResourceDefaultOwner; } ........................................................................................................... Can you help me figure the required pins on atm1281? I have tried and failed, so far. I saw someone has done it for mts400 board. help would be much appreciated. CL
_______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help