I am a new guy to windows programming as well as Arduino. I simply want to control a windows form control such as changing the color of a oval shape based on a Arduino pin. So pin 1 goes high, the control turns green. The pin 1 goes low it turns red.
I set the Arduino to output a comma delimited string of the pin levels "1,1,0,1,0,1" (level of each digital pin) to the serial port every 500mS. I can read the value and send it to a textbox as a string and it displays fine. I thought I could just split the string and assign each bit of the string to a variable and base the status of the windows control on that but I can't see how to do it in Visual Studio 2012.
I also want to click a button on a form and sent a command to change a digital

Any help would be great!