|
@ -19,7 +19,6 @@ |
|
|
* Include the Ping Ulptrasonic Library |
|
|
* Include the Ping Ulptrasonic Library |
|
|
*/ |
|
|
*/ |
|
|
#include <NewPing.h> |
|
|
#include <NewPing.h> |
|
|
|
|
|
|
|
|
/*
|
|
|
/*
|
|
|
* ------------------------------------------------------- |
|
|
* ------------------------------------------------------- |
|
|
*/ |
|
|
*/ |
|
@ -325,7 +324,7 @@ void loop() { |
|
|
//Serial.println(distance);
|
|
|
//Serial.println(distance);
|
|
|
// Read serial input:
|
|
|
// Read serial input:
|
|
|
park(Serial_Input()); |
|
|
park(Serial_Input()); |
|
|
//delay(1000);
|
|
|
//delay(800);
|
|
|
// if (distance <15) {
|
|
|
// if (distance <15) {
|
|
|
// // Change direction to motors
|
|
|
// // Change direction to motors
|
|
|
// turn(225);
|
|
|
// turn(225);
|
|
|