    byte currentPattern_ = 0;
    const unsigned long timeOut_ = 1000;
    bool blanking_ = false;
-   bool blankOnHigh_ = true;
+   bool blankOnHigh_ = false;
    bool triggerMode_ = false;
-   int triggerState_ = 0;
+   boolean triggerState_ = false;
  
  void setup() {
    // Higher speeds do not appear to be reliable

         if (patternLength_ > 0) {
           sequenceNr_ = 0;
           triggerNr_ = -skipTriggers_;
           triggerState_ = digitalRead(inPin_);
           PORTB = B00000000;
           Serial.write( byte(8));
           triggerMode_ = true;           


       }
    }
    
    // In trigger mode, we will blank even if blanking is not on..
    if (triggerMode_) {
      boolean tmp = PIND & inPinBit_;
      if (tmp != triggerState_) {
        if (blankOnHigh_ && tmp ) {
          PORTB = 0;
        }
        else if (!blankOnHigh_ && !tmp ) {
          PORTB = 0;
        }
        else { 
