Pins.h 521 B

12345678910111213141516171819202122232425262728
  1. /**
  2. Arylic32 Firmware
  3. MClarkDev.com, 2022
  4. Pins.h
  5. */
  6. #ifndef Pins_H
  7. #define Pins_H
  8. #define PIN_SETUP GPIO_NUM_12
  9. #define PIN_DPAD_N GPIO_NUM_32
  10. #define PIN_DPAD_E GPIO_NUM_25
  11. #define PIN_DPAD_S GPIO_NUM_33
  12. #define PIN_DPAD_W GPIO_NUM_26
  13. #define PIN_DPAD_C GPIO_NUM_27
  14. #define PIN_ENC_A GPIO_NUM_23
  15. #define PIN_ENC_B GPIO_NUM_22
  16. #define PIN_LED_R GPIO_NUM_4
  17. #define PIN_LED_G GPIO_NUM_5
  18. #define PIN_LED_B GPIO_NUM_2
  19. // PinMask for NESWC
  20. #define PIN_WAKE_MASK 0x30E000000
  21. #endif