Thank you for the tips
I did as you said and I didn't get any errors when compiling, but I only get
" Initializing SD card...card initialized
Freescale MMA7455 accelerometer
May 2012 "
I found that anything past " error = MMA7455_init(); " doesn't print.
any suggestions?
The code is attached
Sensor_og_datalogg_kode.ino (13.7 KB)