#include <Stepper.h>
#include<LiquidCrystal_I2C.h>
const int stepsPerRevolution = 200;
Stepper myStepper(stepsPerRevolution, 8, 9);
LiquidCrystal_I2C lcd(0x27, 16, 2);
void setup() {
lcd.init();
lcd.backlight();
lcd.setCursor(0, 0);
lcd.print("Motor is ready");
lcd.setCursor(0,1);
lcd.print(" to lunch");
delay(1000);
lcd.clear();
myStepper.setSpeed(900);
lcd.print("Please stay away !");
}
void loop() {
myStepper.step(stepsPerRevolution);
delay(500);
}