#define CLOCK_PIN 13 #define INPUT_PINS 8 #define OUTPUT_PINS 1 #define CLOCK_MS 150 int inputs[INPUT_PINS] = {2, 3, 4, 5, 6, 7, 8, 9}; void setup() { Serial.begin(9600); // INPUT for (int i = 0; i= 0; i--) { Serial.print(digitalRead) } // CLOCK LOW digitalWrite(CLOCK_PIN, LOW); delay(CLOCK_MS); }