diff --git a/sz_f1.ino b/sz_f1.ino index a49ef46..9b42c92 100644 --- a/sz_f1.ino +++ b/sz_f1.ino @@ -10,6 +10,7 @@ char keymap[numRows][numCols] = { {'7', '8', '9', 'C'}, {'*', '0', '#', 'D'} }; +// keypad pins byte rowPins[numRows] = {13, 12, 11, 10}; byte colPins[numCols] = {9, 8, 7, 6}; Keypad keypad = Keypad(makeKeymap(keymap), rowPins, colPins, numRows, numCols); @@ -17,12 +18,12 @@ Keypad keypad = Keypad(makeKeymap(keymap), rowPins, colPins, numRows, numCols); #include Servo servo; -//leds +// led pins const int greenLed = 1; const int ledArray[6] = {2, 3, 4, 5, 6, 7}; const int redLed = 8; -// constants +// pins const int registerInput = 1; const int outputRegister = 2; const int shiftRegister = 3;