   //_zerolen =  (3*_dotlen);
 
   // Set the pin to output mode
-  pinMode(_pin, OUTPUT);
-}
-
-void Braille::sendZero()
-{
-  digitalWrite(_pin, LOW);
-  delay(300);
+  int i = 0;
+  int localpin;
+  for (i = 0; i < 8; i++){
+    localpin = LEDpins[i];
+    pinMode(localpin, OUTPUT);
+  }
+}
+
+void Braille::sendZero(int pinindex)
+{
+  digitalWrite(LEDpins[pinindex], LOW);
+  //delay(300);
   //digitalWrite(_pin, LOW);
   //delay(_dotlen);
 }
 
-void Braille::sendDot()
-{
-  digitalWrite(_pin, HIGH);
-  delay(300);
-  digitalWrite(_pin, LOW);
-  delay(300);
+void Braille::sendDot(int pinindex)
+{
+  digitalWrite(LEDpins[pinindex], HIGH);
+  //delay(300);
+  //digitalWrite(LEDpins[pinindex], LOW);
+  //delay(300);
 }
 
 void Braille::sendChar(char c)

  }


  for (int j = 0; j < 8; j++) {
    int k = -(j) + 8;
    int LED = k;
    
    brailleOn[k] = (_BrailleBinaryRep & (mask << j)) != 0;

    if (brailleOn[k] == 1) {
          Serial.print("LED #: ");
          Serial.println(k);
	  sendDot();
    } else {
	  sendZero();
    }
  }
}

Braille braille(LEDpins[2], 3);

void setup() {
  // put your setup code here, to run once:  

  int _i = 0;
  byte _BrailleBinaryRep;
  byte tempinput;
  byte mask = B100000;

  // Send space
  if (c == ' ') {
