ajuda com projeto, máquina de enrolar bobina

boa noite, estou tentando fazer uma máquina para enrolar bobinas pequenas,

estou tentando criar menu mas não esta respondendo por favor necessito de ajuda

#include <Arduino.h>

#include "BasicStepperDriver.h"

#include <Keypad.h>

#include <Wire.h>

#include <LiquidCrystal_I2C.h>

LiquidCrystal_I2C lcd(0x3F,16,2);

const byte ROWS = 4; //four rows
const byte COLS = 4; //four columns
//define the cymbols on the buttons of the keypads
char keys [ROWS][COLS] = {
{'1','2','3','A'},
{'4','5','6','B'},
{'7','8','9','C'},
{'*','0','#','D'}
};
byte rowPins[ROWS] = {4, 5, 6, 8}; //connect to the row pinouts of the keypad
byte colPins[COLS] = {A0, A1, A2, A3}; //connect to the column pinouts of the keypad

//initialize an instance of class NewKeypad
Keypad keypad = Keypad( makeKeymap(keys), rowPins, colPins, ROWS, COLS );

#define MOTOR_STEPS 200
#define RPM 120
#define MICROSTEPS 1
#define DIR 12
#define STEP 13
#define sensor1 9
#define sensor2 11
#define habilitar 10
BasicStepperDriver stepper(MOTOR_STEPS, DIR, STEP);
int voltas = 0;

void setup() {
stepper.begin(RPM, MICROSTEPS);
lcd.init(); // initialize the lcd
lcd.init();
lcd.backlight();
//lcd.setCursor(0,0);
Serial.begin(9600);
pinMode(sensor1, INPUT_PULLUP);
pinMode(sensor2, INPUT_PULLUP);
pinMode(habilitar,OUTPUT);

}

void loop(){
char key = keypad.getKey();
if (key != NO_KEY && (key=='A')){

}
manual();

}

void manual(){

lcd.setCursor(5,0);
lcd.print ("MANUAL");

if (digitalRead(sensor1)==LOW){
digitalWrite(13,HIGH);
lcd.clear();
lcd.setCursor(2,1);
lcd.print("POS, SENSOR1");

}
else {
digitalWrite(13,LOW);
}

}

Sem explicares qual é o teu problema, é difícil de alguém ajudar, não achas?

ok, me desculpe

estou querendo fazer menus para a maquina

a = manual desabilita motor de passo movo ele manualmente até posição encosto o final de curso e o arduino recebe sinal e imprime ponto zero encontrado