invalid conversion from 'int*' to 'uint8_t
<p>im having a problem, i just bought an arduino and i was wondering if anyone could help, here is my code. (i am just trying to get two leds to fade in and out).</p>

<pre><code>int ledCount = 2;
int ledPins [ ] = {11,12 };
int brightness = 0;
int delayTime = 10;
void setup() {
 pinMode(ledPins, OUTPUT);
}
void loop() {
  while(brightness &lt; 255)
  {
    analogWrite(ledPins, brightness);
    delay(delayTime);
brightness = brightness + 1;
  }
while(brightness &gt; 0)
  {
 analogWrite(ledPins, brightness);
 delay(delayTime);
     brightness = brightness - 1;
  }
}
</code></pre>