Let's Make Robots!

I2C woes

Grumble. I2C is supposed to be easy, right? 

I ordered and received the Honeywell HMC6352 Compass module from Sparkfun. I'm using a PIC 14F452 and I've got proper line level converters for the SCL and SDA lines. What I don't have is a working compass. The compass' datasheet (to me) feels pretty ambiguous about a lot of details and I am unsure of where my problem might lie. I know there aren't many PIC users here ( at least I think...) but the code should be straightforward, which is why this is so enraging. 

#include <i2c.h>

#pragma config OSC = XT

Location, location, location!

Hello everyone!

Description: September 16, 2009:  This is a small platform I'm designing to test different control algorithms for my undergrad thesis. It's simple so far, … Read more

First post!


So I'm really new here obviously, and I have made a few forum posts and bot page comments but I haven't actually introduced myself or mentioned any projects I've got going on. My name's Patrick, and I hail from a northern Ontario town called Sudbury. I'm currently in my third year of a Computer Science degree after having spent a bit in the Electronics Engineering Technician program at the local community college and having worked a bit in Toronto for a while.