From: Colin Sauze <cjs06@ab...> - 2007-04-15 19:20:38
> Date: Sat, 14 Apr 2007 23:21:40 -0500
> From: "Ben Bennett" <benbennett@...>
> Subject: Re: [Gumstix-users] HMC6352 on robostix + gumstix + i2c no
> worky so far (Ben Bennett)
> To: gumstix-users@...
> Content-Type: text/plain; charset="iso-8859-1"
> Thanks again Dave,
> After spending most of the night working on it , I found a site that
> addressed it as 0x21 also . So out of hunch I tried the 0x21 address and
> didn't give me an error . I have a basic application reading the heading
> now , just a hack to test , I will try to put something together nice and
> hopefully someone else can use it also .
> -------------- next part --------------
> An HTML attachment was scrubbed...
I've managed to use the HMC6352 with a gumstix and breakout-gs. All I had
to do was read two bytes from register 0x41 with I2C address 0x21. Using
the i2c command i'm able to read the first byte of the data to confirm
things are working.
If you want a copy of my code your welcome to have it.
Get latest updates about Open Source Projects, Conferences and News.