Help me coding C

Hi i have 3 files from a youtube video and im super new to coding so i dont know how to insert them i was wondering if someone can reach out to help me

Insert them where?

On the arduino app i have a CPP file, H File and File INO.
i dont really know what to do whit them:(

Please post a link to the YouTube video

What is the sketch supposed to do ?

Say the .ino is called demo.ino
Then create a directory called demo (same capitalization)
Put the 3 files inside this directory
Install the IDE and extension for your board as well as the necessary library if any
Double click on the .ino file from within the directory
Select the right board and USB port In the IDE
hit compile and upload

To get started with Arduino, connect your Arduino to a PC, run the Arduino IDE and select the correct board and serial port. Then, under File>Examples>01.Basics, choose Blink.

Compile and upload, check for a blinking LED.

Which Arduino board do you have ?

Is it really a Nano ESP32 ?

ty all for the help a storm happend and i dindt have eletricity during the weekend

the link of the video is:https://youtu.be/gmqgAcnKeFU?si=fmoB__P6O8NI7kxH

The board is xiaoESP32S3

Hi @Rosa_43. I'll provide instructions you can follow to use the Arduino sketch from the video:

A. Open Sketch

  1. Click the following link to open the YouTube video in your web browser:
    https://www.youtube.com/watch?v=gmqgAcnKeFU
  2. Click the "...more" at the end of the description box under the video.
    The description box will expand to show the full video description.
  3. Click the "CODES" link in the description.
    A Google Drive folder will open in the web browser.
  4. Click the icon to the right of the "FPVCar" folder name on the Google Drive page.
    A menu will open.
  5. Select "Download" from the menu.
    Your web browser will start a file download.
  6. Extract the downloaded ZIP file.
  7. Delete the downloaded ZIP file.
  8. Start Arduino IDE.
  9. Select File > Open..." from the Arduino IDE menus.
  10. Select the file FPVCar.ino from the FPVCar subfolder of the extracted folder.

The "FPVCar" sketch will now open in a new Arduino IDE window.

B. Install "esp32" Boards Platform

Arduino boards platforms add support to Arduino IDE for specific board models. The "esp32" boards platform adds support for the Seeed XIAO ESP32S3 board.

If you haven't already done so, you will need to install the "esp32" boards platform. I'll provide instructions you can follow to do that:

  1. Open the web page containing Espressif's official installation instructions for the ESP32 boards platform:
    https://docs.espressif.com/projects/arduino-esp32/en/latest/installing.html#installing-using-arduino-ide
  2. Copy the URL shown under the "Stable release link" section of that page.
  3. Select File > Preferences... (or Arduino IDE > Settings... for macOS users) from the Arduino IDE menus.
    The "Preferences" dialog will open.
  4. If there is already a URL for the ESP32 boards platform in the "Additional Boards Manager URLs" field of the "Preferences" dialog, delete it.
  5. Add the URL you copied from the ESP32 boards platform installation instructions to the "Additional Boards Manager URLs" field.
    If there are other URLs in the field, separate them with commas (,).
  6. Click the "OK" button on the "Preferences" dialog.
    The "Preferences" dialog will close.
  7. You will now see a "Downloading index: ..." notification at the bottom right corner of the IDE window. Wait for that notification to close.
  8. Select Tools > Board > Boards Manager... from the Arduino IDE menus to open the "Boards Manager" view in the left side panel.
  9. Scroll down through the list of boards platforms until you see the "esp32 by Espressif Systems" entry.
  10. Click the "Install" button on the "esp32 by Espressif Systems" entry.
  11. Wait for the installation to finish.
  12. Click the "Close" button on the "Boards Manager" dialog.
    The "Boards Manager" dialog will close.

C. Configure Arduino IDE

  1. Connect the Seeed XIAO ESP32S3 board to your computer with a USB cable.
  2. Select Tools > Board > esp32 > XIAO_ESP32S3 from the Arduino IDE menus.
  3. Select the port of the Seeed XIAO ESP32S3 board from Arduino IDE's Tools > Port menus.

D. Upload Sketch

When you are ready to run the "FPVCar" sketch program on your XIAO ESP32S3 board, select Sketch > Upload from the Arduino IDE menus. This will trigger a compilation of the sketch, and then upload the compiled program to the XIAO ESP32S3 board. You should see a "Done uploading." notification appear at the bottom right corner of the Arduino IDE window when the upload finishes successfully:

ty so much will try when i have the time