#ifndef Pins_Arduino_h #define Pins_Arduino_h #include #define EESD_S3 /* IO10 and IO14 switched on display connector*/ // User LED static const uint8_t LED_BUILTIN = 21; #define BUILTIN_LED LED_BUILTIN // backward compatibility #define LED_BUILTIN LED_BUILTIN // allow testing #ifdef LED_BUILTIN #define buttonPin1 4 // added by me -- change to whatever pin #define buttonPin2 5 // added by me -- change to whatever pin // pins for lights #define LightingSDA 13 #define LightingSCL 14 // pins for Motors // IO pin assignments #define HOOP_STEP_PIN 2 #define HOOP_DIRECTION_PIN 1 #define enableHOOP 40 #define hooplogic1 42 #define hooplogic2 41 /* #define HOOP_STEP_PIN 41 // blue #define HOOP_DIRECTION_PIN 40 // purple #define enableHOOP 2 // yellow #define hooplogic1 42 // red #define hooplogic2 1 // brown */ /// #define SPINNER_STEP_PIN 38 // "STEP" #define SPINNER_DIRECTION_PIN 39 // "DIR" #define enableSPINNER 37// 37 // "MS1" #define spinnerlogic1 36 // "MS2" #define spinnerlogic2 35 // 35 // "Emable" // pins for LCD #define TFT_CS 9 #define TFT_DC 46 // originally 9 #define TFT_RST 45 // RST can be set to -1 if you tie it to Arduino's reset #define targetPin1 17 #define targetPin2 18 #define IRPin1 6 #define IRPin2 8 #define dataPin D9 // added by me -- D/C for LCD static const uint8_t BOOT_PIN = 0; static const uint8_t TX = 43; static const uint8_t RX = 44; static const uint8_t SDA = 48; static const uint8_t SCL = 47; /* fix later */ static const uint8_t SS = 9; static const uint8_t MOSI = 10; static const uint8_t MISO = 11; static const uint8_t SCK = 12; static const uint8_t A0 = 2; static const uint8_t A1 = 3; static const uint8_t A2 = 4; static const uint8_t A3 = 5; static const uint8_t D0 = 2; static const uint8_t D1 = 3; static const uint8_t D2 = 4; static const uint8_t D3 = 5; // static const uint8_t D4 = 6; // static const uint8_t D5 = 7; static const uint8_t D6 = 21; static const uint8_t D7 = 20; static const uint8_t D8 = 8; static const uint8_t D9 = 9; static const uint8_t D10 = 10; #endif /* Pins_Arduino_h */