This is an example I wrote up as I worked through things. I have a microcontroller that sends data over Serial connection to the PC. The script (using CommMg.dll) from Martin, puts the hex in $ComIn. For the example below, I've removed that to allow this example to run 'simulated' for anyone. Simply enter the hex into the $ComIn variable. the hex data comes in from a DS18B20 temperature sensor. I needed to be able to convert this raw data into Celcius and/or Farenheit, including negative v