Browse Source

expression pins

master
Lukas Bachschwell 2 years ago
parent
commit
0f53337ed7
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      examples/WebInterface/WebInterface.ino

+ 5
- 5
examples/WebInterface/WebInterface.ino View File

@@ -4,11 +4,11 @@
#include <ESPUI.h>
#include <LARS.h>

#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();


Loading…
Cancel
Save