 volatile int motorState = LOW;
 boolean motorCommand = false;
 
-aJsonStream serial_stream(&Serial);
+aJsonStream serialStream(&Serial);
 
 void setup() {
   //set pins to output so you can control the shift register


// 0bEDC*BAFG
//7 segment digits.
const byte all_digits[10] = {
  0b11111110,0b11010111,0b00110010,0b10010010, //-,1,2,3
  0b11010100,0b10011000,0b00011100,0b11010011, //4,5,6,7
  0b00010000,0b10010000};                    //8,9

  int iValue = value->valueint;
  
  if (sName == "gear") {
    sendDigit(allDigits[iValue]);
    return;
  }
  
