Create ldrsensor