Reading and saving data from 3 sensors


I'm having a problem with my programming of my arduino yùn. I want to connect 2 sensors (1 digital & 1 analog)
to my arduino but I'm having a difficult time save that information on my sd-card. (The sensors are attached to a bicycle).