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 working perfectly with mica2 or micaZ and everybody are buying those ones, so I'm the first to have that problem ...? Still, I don't think my program is very good, so maybe the problem is coming from there.
I was asking about the IRIS motes in reference to that post : http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2008-May/033310.html but maybe it's not possible after all. Raphael > 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 program never enters in "I2C.commandComplete()" and that's where I'm > > lost. Also, the "hasStart();" function return TRUE, when I include it > > before the call of "I2C.sendCommand();". > > So, I checked today directly on the hardware with a digital oscilloscope > > to watch the frames on the I2C lines, and I saw nothing, which is > > confusing me more than before. > > If someone could give me a hand on this... > > Does your code work on any other platform? > > > By the way, I saw a program TestMag for tinyos-1.x, so I wanted to test > > it ; I installed tinyos-1.1.0 and the CVS update to 1.1.15 but I can't > > compile it for IRIS motes (unknown target), and there is no iris folder > > in /tinyos-1.x/tos./platforms/ > > If you have a hint on this too... > > IRIS is supported ONLY on tinyos 2.x. It would require a complete > rewirte for tinyos 1.x. > > Miklos > _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
