     lcd.print(line2); 
 }
 
-log_data() {
+void log_data() {
 
     char ts[18] ;
 	char data[12] ;


void lcd_print(char* line1, char* line2) {

    pinMode(lcd_pin, OUTPUT);
    digitalWrite(lcd_pin, HIGH);
    lcd.begin(16,2);       
    lcd.clear();
    // line1

// @change pins
#define DHT11_PIN 2 

int LCD_PIN = 13;    
int LDR_PIN = A0 ;
const int chipSelect = 9;

dht11 DHT11;
File dataFile;
LiquidCrystal lcd(7,8, 3, 4, 5, 6);


void setup() {
