Dear Everyone
I have a project for power press feeder with stepper motor. Thanks to Robin I have the first part done. There is 2 Arduino's connected. The Slave is only for stepping the motor, and the master is for keypad, and LCD 16/2 in order to change the stepps value(if the correction is needing).
The Sender has next code:
void setup() {
Serial.begin(9600);
}
void loop() {
int stepsToGo = 8000;
Serial.print( '<'); // the start marker
Serial.print(stepsToGo);
Serial.println('>'); // end marker
delay(1000) ;
}
What I need to do is to change the int stepsToGo = ?; value with a keypad 4x4 or with the push buttons (up/down) for me its the same, and to have an LCD 16/2 for monitoring the steps value.
I try to search similar sketch, but I dont find it. (becouse I am newbe in Arduino some part of the codes I dont understand clearly)
Did someone help to me? Thanks in advance.