Output CPU Temperature via Serial?

Hi all, does anyone know how to write a VB script to output the CPU’s temperature reading out the serial comm? I would like to feed the temperature data to my Arduino to change the color of some RGB LEDs I have. Thanks!

Are you asking how to write a VB script? Or how to make a VB script write to the serial port? Or, how to make a VB script read the CPU temperature? Or, all of the above?

All of the above in VB if possible please ;)

This thread has a discussion about sending serial data to the Arduino.

http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1267219714

Getting the CPU temperature may be possible. Time to read the manual. You, not me.

CPU temp is probably easily available to vbscript via WMI. There are lots of examples online.