diff --git a/examples/WebInterface/WebInterface.ino b/examples/WebInterface/WebInterface.ino index 541099e..297c18b 100644 --- a/examples/WebInterface/WebInterface.ino +++ b/examples/WebInterface/WebInterface.ino @@ -4,11 +4,11 @@ #include #include -#define ledDataPin 27 // cannot use -#define beeperPin 17 // cannot use +#define ledDataPin 2 +#define beeperPin 4 -#define echoPin 5 // cannot use -#define triggerPin 23 //cannot use +#define echoPin 36 +#define triggerPin 34 #define checkTime 1000 #define warningDistance 20 @@ -90,7 +90,7 @@ void loop() { checkDistance(); oldTime = millis(); } - + if (walk_forward) robot.walk(0); else if (walk_backward) robot.walk(); else if (hello) robot.hello();