DS18B20 and LDR sketch based on Arduino