       digitalWrite(RED_LED, ON);
       return;
     }
-    //  debug("sent portByte ");
-    //  debugln2(portByte, HEX);
+    debug("sent portByte ");
+    debugln2(portByte, HEX);
     //read them back
     Wire.requestFrom(JIGADDR_T, 2);
     if (Wire.available() != 2) {

      return;

    }
    retVal = Wire.read() << 8;
    retVal += Wire.read();

    if (retVal != portByte) {
      Serial.print("Error 1 - I see trigs ");

#include <Wire.h>

#define JIGADDR_T 0x21
#define JIGADDR_E 0x22
#define OCTO_ADDR 0x20
#define GREEN_LED 5
#define RED_LED 6
#define INT_PIN 7
#define DEBUG_PIN 8
#define debug(thing) if (digitalRead(DEBUG_PIN) == LOW) {Serial.print(thing);}
#define debugln(thing) if (digitalRead(DEBUG_PIN) == LOW) {Serial.println(thing); delay(50);}
#define debugln2(thing,format) if (digitalRead(DEBUG_PIN) == LOW) {Serial.println(thing, format); delay(50);}
