added code for temperature sensor from led_module_firmware