search
This commit is contained in:
parent
71051983f2
commit
c29db5baf1
@ -34,6 +34,16 @@ void processCommand(String command) {
|
||||
Serial.println(command);
|
||||
}
|
||||
|
||||
void search() {
|
||||
turnDegrees(stepperX, 180);
|
||||
turnDegrees(stepperY, 45);
|
||||
turnDegrees(stepperX, -180);
|
||||
turnDegrees(stepperY, 45);
|
||||
|
||||
// back to zero:
|
||||
turnDegrees(stepperY, -90);
|
||||
}
|
||||
|
||||
void loop() {
|
||||
|
||||
// if (Serial.available() > 0) { // Check if data is available
|
||||
|
Loading…
Reference in New Issue
Block a user