Why is my ESP32 not blinking

I want to make my ESP32-S3-DevkitC1 blink and to make it blink I know that the GPIO pin is 38. My board in Arduino is set to ESP32-S3 Dev module and this is the code:

#define LED_BUILTIN 38
void setup() {
  // initialize digital pin LED_BUILTIN as an output.
  pinMode(LED_BUILTIN, OUTPUT);
  Serial.begin(115200);
}

// the loop function runs over and over again forever
void loop() {
  Serial.print('*');
  digitalWrite(LED_BUILTIN, HIGH);  // turn the LED on (HIGH is the voltage level)
  delay(1000);                      // wait for a second
  digitalWrite(LED_BUILTIN, LOW);   // turn the LED off by making the voltage LOW
  delay(1000);                      // wait for a second
}

My output shows this:
10:31:18.365 -> Build:Mar 27 2021
10:31:18.365 -> rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT)
10:31:18.365 -> SPIWP:0xee
10:31:18.365 -> Octal Flash Mode Enabled
10:31:18.365 -> For OPI Flash, Use Default Flash Boot Mode
10:31:18.365 -> mode:SLOW_RD, clock div:1
10:31:18.365 -> load:0x3fce2820,len:0x118c
10:31:18.365 -> load:0x403c8700,len:0x4
10:31:18.365 -> load:0x403c8704,len:0xc20
10:31:18.365 -> load:0x403cb700,len:0x30e0
10:31:18.365 -> entry 0x403c88b8
10:31:18.490 -> **********************************************************************************************************************************************

It still does not blink. I'm new to this so what should I check to make it blink.

Verify the NeoPixel (LED) DIO. Is it 48?

Please, post the picture of your ESP32-S3 Board.

Did you try to press the RST button at the time of uploading the code?

try
RGB_BUILTIN

Ps. some boards have separate power pin for RGB LED.

Hi! Welcome to the Forum.

This board seems to have a WS2812 LED. If so, this HIGH/LOW approach will not do the trick. You'll need a library like FastLed or Adafruit's Neopixel. Try this one:

#include <FastLED.h>

#define LED_BUILTIN 38
#define Numleds 1

CRGB leds[Numleds];

void setup() {
  FastLED.addLeds<WS2812, LED_BUILTIN, GRB>(leds, Numleds);
}

void loop() {
leds[0] = CRGB::Red;
FastLED.show();
delay(1000);
leds[0] = CRGB::Black;
FastLED.show();
delay(1000);
}

but don't forget to install the library on the IDE.

Ok I actually kind of solved it way ago. digitalWrite doesn't work and I don't know why but I instead used rgbLedWrite function so this worked. Thank you very much for the replies though.

I suspect it does if in the form digitalWrite(colorPin, PWM); (once for each color pin). From the library...

    // write the RGB values to the pins
    ledcWrite(ledR, R);  // write red component to channel 1, etc.
    ledcWrite(ledG, G);
    ledcWrite(ledB, B);