Arduino Control Panel for windows
You may want to take a look at Firmata.  

There is a Firmata example that can be loaded into the Arduino from File > Examples > Firmata > StandardFirmata menu in the Arduino development environment.

You can download a PC host program from http://firmata.org/wiki/Main_Page for Linux, Windows, or Mac OS-X.

From Firmata main page,
"If you need to quickly test your hardware, this stand-alone program can access all pins. It runs from a single file (no installation needed), for quick and easy testing!"