electronut Labs have a great tutorial for talking to the MMA7660 3-axis accelerometer with an ATtiny85 using the I2C protocol. They throw in some helpful Atmel-ICE and Atmel Studio software pointers along the way. I was introduced to Atmel tinyAVRs a few years ago, soon after I started playing around...