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

}

void loop() {

  poll_mailbox();

  delay(10);

#include <Mailbox.h>

#include <Dagu4Motor.h>
#include <Adafruit_NeoPixel.h>
#include "NeoPixel.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);

// NeoPixel - KIT emulation :D
#define PIXEL_PIN 6
#define PIXEL_COUNT 8
#define KIT_LIGHT_DELAY 40 // in milliseconds
NeoPixel pixel = NeoPixel(PIXEL_COUNT, PIXEL_PIN, NEO_GRB + NEO_KHZ800);

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