Send current from power pin

I tried the following code:

void setup() 
{
  pinMode(3v3,OUTPUT);
}

void loop() 
{
  digitalWrite(3v3, HIGH);  
  delay(500);                  
}

where do I find out the name of power pin for either 3.3V or 5V?

Huge confusion.

:crazy_face:

Hello aliia
Did you read the specification of the functions pinMode(), digitalWrite() ?
Have a nice day and enjoy coding in C++.

This code shows how you set up a digital pin as an output, and set it HIGH or LOW. There is no digital pin 3v3 on an arduino.
The 3v3 label shows a pin that CAN provide a small amount of current at 3.3V; but its not under program control.

void setup() {
  pinMode(13, OUTPUT);    // sets the digital pin 13 as output
}

void loop() {
  digitalWrite(13, HIGH); // sets the digital pin 13 on
  delay(1000);            // waits for a second
  digitalWrite(13, LOW);  // sets the digital pin 13 off
  delay(1000);            // waits for a second
}

You cannot turn off the power pins.