Multiple leds set; diff pins diff times, initial power up huge 13 brightness ...

... followed by correctly blinking lights but blinking way too dimmly.

Also can I plug a 9volt to VCC at the same time I'm usb'd to my laptop ?
Is there a default override where the laptop powers even though 9v is also plugged in or visa versa ?

I figure this sketch is wrong, and I need to do something in int pin, and maybe something about pin mode or the lights will
be dim, not sure.
Heres the sketch , works fine just way dim, I tried before writing multiple 'int' lines but they would never take, so
I tried this way instead. :shruggs:

As you can see I also left void setup blank though included it 'as empty'

void setup ()
{

}

void loop ()
{
digitalWrite (13, HIGH);
delay (300);
digitalWrite (13, LOW);
delay (300);
digitalWrite (12,HIGH);
delay (250) ;
digitalWrite (12, LOW);
delay (250);
}

You have to make the pin(s) outputs if you want to control them.
See pinMode

stratovarius:
As you can see I also left void setup blank though included it 'as empty'

Be glad that you didn't post this over in "Programming Questions"

Could someone correct my sketch so I can see what changes I need to make ....
;shruggs:

stratovarius:
Could someone correct my sketch so I can see what changes I need to make ....
;shruggs:

void setup ()
{
  pinMode(12, OUTPUT);
  pinMode(13, OUTPUT);
}

Please give the :shruggs: bit a rest.

stratovarius:
... followed by correctly blinking lights but blinking way too dimmly.

Also can I plug a 9volt to VCC at the same time I'm usb'd to my laptop ?
Is there a default override where the laptop powers even though 9v is also plugged in or visa versa ?

I figure this sketch is wrong, and I need to do something in int pin, and maybe something about pin mode or the lights will
be dim, not sure.
Heres the sketch , works fine just way dim, I tried before writing multiple 'int' lines but they would never take, so
I tried this way instead. :shruggs:

As you can see I also left void setup blank though included it 'as empty'

void setup ()
{

}

void loop ()
{
digitalWrite (13, HIGH);
delay (300);
digitalWrite (13, LOW);
delay (300);
digitalWrite (12,HIGH);
delay (250) ;
digitalWrite (12, LOW);
delay (250);
}

I thought this was the official arduino forum , a desitination for all things and questions related to programming and working with the arduino platform.
I'm looking for corrections to my program from someone that knows, not just someone that knows how to lob cheap insults.
:shruggs:

LarryD:
You have to make the pin(s) outputs if you want to control them.
See pinMode

I've been through 'pin mode' , could not get results.

Could you make corrections to my sketch so I can see the 'correct' way to get it done ?

Much apprecitated.