added ldr arduino interfacing