Re: [Tinyos-help] Magnetometer gain problem with IRIS and MTS310

2008-07-15 Thread Miklos Maroti
You should ask for code for the AD5242 on any platform. The IRIS is based on micaz and as fas as I know the I2C code paths were not at all modified. Miklos On Tue, Jul 15, 2008 at 1:33 AM, Raphaël Polonowski <[EMAIL PROTECTED]> wrote: > Hi again all, > > [ request mode on ] > > If someone could s

Re: [Tinyos-help] Magnetometer gain problem with IRIS and MTS310

2008-07-14 Thread Raphaël Polonowski
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 mu

Re: [Tinyos-help] Magnetometer gain problem with IRIS and MTS310

2008-07-10 Thread raphael . polonowski
Hello Miklos, Thank you for your answer. Unfortunately, I don't have another platform, I only have 5 IRIS motes. The thing is, I can't find a clear and simple code in order to use the magnetometer and its gain correctly. It's hard to believe that anybody is using this feature... or maybe it's work

Re: [Tinyos-help] Magnetometer gain problem with IRIS and MTS310

2008-07-10 Thread Miklos Maroti
Hi Raphael, > To complete my previous post, I guess my code is bad, but I don't know > where and why. In fact, I can follow the execution of the code (with > debug leds) until the first call of "I2C.sendCommand();" in > I2CPacket.write() in Atm128I2CMasterPacketP.nc. But after this function, > the

Re: [Tinyos-help] Magnetometer gain problem with IRIS and MTS310

2008-07-10 Thread Raphaël Polonowski
To complete my previous post, I guess my code is bad, but I don't know where and why. In fact, I can follow the execution of the code (with debug leds) until the first call of "I2C.sendCommand();" in I2CPacket.write() in Atm128I2CMasterPacketP.nc. But after this function, the program never ente

[Tinyos-help] Magnetometer gain problem with IRIS and MTS310

2008-07-09 Thread raphael . polonowski
Hi everybody, I would like to thank the people who helped me out with my problem with Tymo, though I don't have the time to try it again for now. In fact, I have a more urgent problem right now : I don't understand how to change the amp gain of the magnetometer. I know I have to use those 2 funct