Hi again all,

[ request mode on ]

If someone could share a program which simply adjust the gain 
(magnetometer or microphone) by I2C, on IRIS mote and MTS310, I would be 
very very grateful (I'm on this problem for a week now, so I start to 
depress).

[ request mode off ]

After many tries, I must admit I still don't know how to adjust the 
AD5242 via I2C, cause my program never enters the 
"I2C.commandComplete()" function (Atm128I2CMasterPacketP.nc) and I don't 
know why. Maybe the interrupts ?
A weird thing though : when I push the MTS310's 51-pin connector or if I 
move it into its socket a little when the mote is turned on, the program 
does enter the "I2C.commandComplete()" function ; so I guess by moving 
the connector I simulated some interrupts on the I2C bus or whatever... 
But if I don't touch the mote, nothing happen, and I don't know why. Is 
there a mistake in the I2C driver code ? or in my code ?

Please if anybody could help me  =)

Thanks in advance,
Raphael



_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to