software to control the greenLED on the arduino uno PC board.

I write redLEDpin = 13;

int redLEDpin = 13; pinMode(redLEDpin, OUTPUT);

to check a setup

Is there code to turn on the green LED? What pin?

bethesdakid: Is there code to turn on the green LED? What pin?

No. The green LED is permanently connected to the 5volt rail. Leo..