I answer to myself... I found this browsing old mails:
Hi Chris Thanks for the ports! I've been working of the SHT11 code from telosa.chips.sht11 so far I've copied the folder to the IRIS folder and added to the .platform file to make it find the folder when it compiles. I realize that this is not the best way to go about it but for now it should do. So now I have an iris.chips.sht11 folder with the code from the telosa folder. Next I changed the HplSensirionSht11C.nc file replacing "Msp430" with "Atm128" then changing the DATAM port from 15 to E3(ln56) and SCKM port from 16 to C3(ln57). However the telosa code has a PWRM refence do you know what port should be mapped to it? Ln73 was also changed from ".Port11;" to ".PortE3;" Charles I've been looking sht11 datasheet and the mda300 user manual and I think that PWRM is the line witch activates the sensirion (vdd), but in MDS300CA the sensirion is attached to GND and VDD directly so this line is not necessary I'll probe it and I'll write about the results -- Nunca confies en un S.O. del que no tienes código fuente ;-) -------------------------------- Javier Almansa Sobrino. Ingeniero Técnico en Informática de Sistemas. FSF #7032 Member (www.fsf.com) Grupo de Investigación ARCo. Escuela Superior de Informática. Ciudad Real Tel: (+34)926 29 53 00 Ext: 3705 _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
