Merging i2c-sensor code with SPI SD-card code

No suggestions on where the error lies.

On the other hand, I suggest putting a print in the various MMA7455 routines on entry to see if you "hang" somehow (or goes into never-never land due to some memory overflow/overwrite)