It shouldn't be too complicated. Cretate a new directory called sht11 under
tos\platforms\iris\chips. Copy all files from
tos\platforms\telosa\chips\sht11to tos\platforms\iris\chips\sht11. Then, add
%T/platforms/iris/chips/sht11 to the includes list in
%T/platforms/iris/.platform. You will need to modify
tos\platforms\iris\chips\sht11\HplSensirionSht11C.nc to describe which pins
of the atmega1281 the sht11 is connected to. Obviously, you will nee to
replace HplMsp430GeneralIOC with HplAtm128GeneralIOC and HplMsp430InterruptC
with HplAtm128InterruptC.

Janos

On Wed, Nov 5, 2008 at 4:03 PM, André Rodrigues <
[EMAIL PROTECTED]> wrote:

>  Hi
>
> I get your email from a previous question, that you posted, on how to use
> the sht11 on IRIS.
>
> Did you managed to get it? Could you give me some hints on how to modify
> the original telos drivers?
>
> Best regards,
>
> André Rodrigues
>
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to