Needed an accelerometer for a project, and the tiny circuits accelerometer was the best price at the local retail store that carries some of this stuff. Never used an I2C item before, so after a bit of a learning curve, I got it hooked up. The arduino hung on initializing the board (the accel.begin line) then I realized I probably needed pullup resistors.
I went out and got two 4.7k resistors today and added them between the SDC and SDA lines and the VCC line (which is actually pin 12 on my arduino, so I can power it on and off as necessary. Given the extremely low current draw of the tinycircuits accel, this didn't seem to be an issue) and now the sketch starts up and runs without hanging.
Problem is - the only X/Y/Z readings that come in are -1.
What am I missing? What else do I need to do to get this to work with a standard arduino? Did I wire it incorrectly? VCC to pin 12 (which is on), GND to GND, and SCL and SDA to pins 4 and 5 (or the other way around, its not in front of me, I just know 4 and 5 are the SCL and SDA pins on the arduino), 4.7k pullup resistors on the SDA and SCL lines leading back to pin 12 (the accel's VCC for all intents and purposes)