+// ReadSensors.ino  20/06/2015  D.J.Whale
+//
+// (c) 2015 D.J.Whale
+
 #define REGISTRATION A0
+
 #define D7           A1
 #define D6           A2
 #define D5           A3

  Serial.write(fd1);
  Serial.write(fd0);
  Serial.println();
}

byte getReg(unsigned int adc)

#define D1           A9
#define D0           A10

#define LED_REG      1 // TX
#define LED_D7       0 // RX
#define LED_D6       2
#define LED_D5       3
#define LED_D4       5
#define LED_D3       7
#define LED_D2       16
#define LED_D1       14
#define LED_D0       15


#define REG_STATE_OPEN   '.'
#define REG_STATE_WHITE  'W'
#define REG_STATE_BLACK  'B'

#define DATA_STATE_PAPER '.'
#define DATA_STATE_HOLE  'X'
