From 0f53337ed73210b3e755f48b303763dcbf487fcb Mon Sep 17 00:00:00 2001 From: Lukas Bachschwell Date: Wed, 13 Dec 2017 10:58:20 +0100 Subject: [PATCH] expression pins --- examples/WebInterface/WebInterface.ino | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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();