 #define MOTOR_SPEED 100
 
 int current_direction = 0;
+int prevMillis = 0;
 
 void left_motor(int dir, int spd) {
      left_front.setMotorDirection(dir);

#include <Mailbox.h>

#include <Dagu4Motor.h>

                 // pwm, dir, cur(analog), encA, encB
Dagu4Motor left_front(5, 4, 0, 0, 0);
Dagu4Motor left_back(3, 2, 0, 0, 0);
Dagu4Motor right_front(11, 12, 0, 0, 0);
Dagu4Motor right_back(9, 8, 0, 0, 0);

void setup() {
  //Serial.begin(9600);

  right_back.begin();
  right_back.stopMotors();

  pixel.begin();
  pixel.reset();
}

#define LEFT 1
