 #define PULSE_WIDTH_USEC 5
 #define DEBOUNCE_TRIGGER 8
 
-
-int   LOAD  = 2;
-int   CLOCK = 3;
-int   READ1 = 4;
-int   READ2 = 5;
-int   READ3 = 6;
+#define LOAD  2
+#define CLOCK 3
+#define READ1 4
+#define READ2 5
+#define READ3 6
 
 int   pinStates[24];  // state values of all 24 pins
 int   changed[24];    // a list of button with changed state in the current loop


DualDigitDisplay display;

int pinToPadMap[24] = {
	17,  9, 1, 16,  8, 0, 20, 12, 4, 21, 13, 5,
	22, 14, 6, 23, 15, 7, 19, 11, 3, 18, 10, 2
};

//▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄

			if (pinStates[changed[i]]) {
				int note = pinToPadMap[changed[i]] + 36;
				MIDI.sendNoteOn(note, 120, 1);
				display.displayNumber(pinToPadMap[changed[i]], 0, 0);
			} else {
				MIDI.sendNoteOff(pinToPadMap[changed[i]] + 36, 0, 1);
			}
