Logging BMP180 RTC to SD card

Hello everybody.

The sketch I am working on read from the BMP180 and the RTC.
Displaying what I like to on the Keypad LCD shield, I did stack a SDcard/RTC shield and
a Keypad shield on an UNO, work fine so far.

My main code: BMP180_S_LCD.ino
And I try ti implement this one: SD.ino
to log on the SD card, but I can not figure out how.

So I hope someone here can help out.

BMP180_S_LCD.ino (3.41 KB)

SD.ino (880 Bytes)

Please use code tags for the attached codes. I have no IDE in my smartphone…

What have you tried? What were the problems with what you tried?