 // @change pins
 #define DHT11_PIN 2 
 
-int lcd_pin = 13;    
-int ldr_pin = A0 ;
+int LCD_PIN = 13;    
+int LDR_PIN = A0 ;
 const int chipSelect = 9;
 
 dht11 DHT11;
 File dataFile;
-LiquidCrystal lcd(7,8, 9, 10, 11, 12);
+LiquidCrystal lcd(7,8, 3, 4, 5, 6);
 
 
 void setup() {

    lcd.print(line2); 
}

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
