NerdKits - electronics education for a digital generation

You are not logged in. [log in]

NEW: Learning electronics? Ask your questions on the new Electronics Questions & Answers site hosted by CircuitLab.

Support Forum » i2c hmc6352 digtial compass

March 10, 2011
by mbijan
mbijan's Avatar

I am new to programming the atmega. I was woundring how do i add the i2c header file and where do i need to start when it comes to the programming of the digital compass. please help thanks

March 13, 2011
by Ralphxyz
Ralphxyz's Avatar

Sorry your post slipped by. Which compass do you have?

The best references for I2C (TWI) would be Rick's Nunchuck with (jbremnant's contribution) and DS3232 RTC projects also his LCD thread with Noter's contributions.

I have a weather station project that I am thinking about using a I2C Compass module on along with I2C Barometric Pressure and I2C external EEPROM. So I am also trying to learn I2C programming.

Let us know what you work out.


Post a Reply

Please log in to post a reply.

Did you know that Pulse Width Modulation (PWM) can be used to control the speed of a motor digitally? Learn more...