Sample code for Thermal Unit and Core2?