expression pins

This commit is contained in:
Lukas Bachschwell 2017-12-13 10:58:20 +01:00
parent d21a52d6b2
commit 0f53337ed7
1 changed files with 5 additions and 5 deletions

View File

@ -4,11 +4,11 @@
#include <ESPUI.h> #include <ESPUI.h>
#include <LARS.h> #include <LARS.h>
#define ledDataPin 27 // cannot use #define ledDataPin 2
#define beeperPin 17 // cannot use #define beeperPin 4
#define echoPin 5 // cannot use #define echoPin 36
#define triggerPin 23 //cannot use #define triggerPin 34
#define checkTime 1000 #define checkTime 1000
#define warningDistance 20 #define warningDistance 20
@ -90,7 +90,7 @@ void loop() {
checkDistance(); checkDistance();
oldTime = millis(); oldTime = millis();
} }
if (walk_forward) robot.walk(0); if (walk_forward) robot.walk(0);
else if (walk_backward) robot.walk(); else if (walk_backward) robot.walk();
else if (hello) robot.hello(); else if (hello) robot.hello();