Arduino.h: No such file or directory in PlatformIO

There Are No Errors In Code But Still When I Try To Build It, It’s Showing This Error.

#include <Arduino.h>

// Define the number of steps per revolution for your stepper motor.
const int stepsPerRevolution = 200;  // Change this to match your motor's specifications

// Create a Stepper object
Stepper myStepper(stepsPerRevolution, 8, 9, 10, 11);  // Use the actual pin numbers connected to your motor driver

void setup() {
  // Set the speed in RPM (you can change this value)
  myStepper.setSpeed(60);
}

void loop() {
  // Rotate the stepper motor 1 revolution in one direction
  myStepper.step(stepsPerRevolution);

  delay(1000); // Delay for 1 second

  // Rotate the stepper motor 1 revolution in the opposite direction
  myStepper.step(-stepsPerRevolution);

  delay(1000); // Delay for 1 second
}

I Don’t Know What To Do. Please Any Help Is Appreciated.

Don’t you need #include <Stepper.h> for the Stepper object? From lib_deps = arduino-libraries/Stepper@^1.1.3 in the platformio.ini?

In any case, please show the complete error message that happens when you use the project-task → Build, a screenshot of VSCode with the error displayed, and your current platformio.ini.

Thanks For Your Reply Sir. I’ve Already Got The Solution By Following Other Tutorials On Internet And That Error Has Been Resolved.
Thanks Again For Taking Your Time Reading And Replying Sir.