added in embedded software for temperature control and sensing