   pinMode(MODE_PIN, INPUT_PULLUP);
   pinMode(GAUGE_PIN, INPUT_PULLUP);
   //digitalWrite(MODE_PIN, INPUT_PULLUP);
-
-
-  
-
-
-
-
-
-
-
-
-
-
-
-
-  //lcd.createChar(0, fill1);
-  //lcd.createChar(1, fill2);
-  //lcd.createChar(2, fill3);
-  //lcd.createChar(3, fill4);
-  //lcd.createChar(4, fill5);
-  //lcd.createChar(5, fillMiddle);
   
   octoModeGauges[0][0] = &engine_rpm;
   octoModeGauges[0][1] = &engine_map;

    setSerialCursor(lcd,0, 0);    
    lcd.print(F("Connected to ECU"));
    setSerialCursor(lcd,0, 0);    

  //lcd.clear();
  //lcd.write(0xFE);
  //lcd.write(0x58);


  Serial.println((uint8_t)4);

  /*currentModeButton = digitalRead(MODE_PIN);
  previousModeButton = currentModeButton;
  Serial.println(currentModeButton);
  Serial.println(previousModeButton);*/
}

void loop() {

  lcd.write(0x58);
}

//does not work with zeros e.g. needs at least one dot drawn on each row
void createCustomSerialChar(SoftwareSerial lcd, int pos, byte data[]) {
  lcd.write(0xFE);
  lcd.write(0x4E);
  lcd.write((uint8_t)pos);
  for(int i = 0; i < 8; i++) {
    lcd.write(data[i]);
  }
  delay(10); 
}

