Efficient code for sd card speed

Perhaps you want to be logging senval[2]? Try

I tried logging senval[2] and it works now!

Another possibility top speed things up is to switch from the SD library to SdFat.h which is faster.

I also replaced sd with sd fat library.

Thank you so much for the suggestions!