how arduino know that trackerbar send a value for which pin ???

from c# trackerbar i control PWM led, 1st pin perfectly working, i want to control 2 or 3 more pin.

second thing that how 1st pin can accept only 1st trackrbar value, 2nd pin can accept only 2nd trackrbar value  etc.
help me please...... 



[C#  code]    

 private void trackBar1_Scroll(object sender, EventArgs e)
        {
            byte pwm;
            pwm = Convert.ToByte(trackBar1.Value);
            data[0] = pwm;
            serialPort1.Write(data, 0,1);
            textBox1.Text = Convert.ToString(pwm);
        }

[ arduino code]

byte incoming;
if (Serial.available() > 0) {

incoming = Serial.read();

analogWrite(2, incoming);

[/code]

Read the forum rules and then edit that post so that it makes sense. At the moment it is totally incomprehensible.

It seems that you are sending a character from pc to arduino to turn on a light. That can't be scaled up to 2 or more leds. Sorry. Who wrote the code?