diff --git a/6502_project.ino b/6502_project.ino index cfab76c..46aa539 100644 --- a/6502_project.ino +++ b/6502_project.ino @@ -1,9 +1,17 @@ #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);