Advertisement
honey_the_codewitch

Parallel defaults

Mar 30th, 2022
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.78 KB | None | 0 0
  1. #define PIN_NUM_BCKL -1
  2. #define PIN_NUM_CS   33  // Chip select control pin (library pulls permanently low
  3. #define PIN_NUM_DC   22  // (RS) Data Command control pin - must use a pin in the range 0-31
  4. #define PIN_NUM_RST  32  // Reset pin, toggles on startup
  5. #define PIN_NUM_WR    21  // Write strobe control pin - must use a pin in the range 0-31
  6. #define PIN_NUM_RD    15  // Read strobe control pin
  7. #define PIN_NUM_D0   2  // Must use pins in the range 0-31 for the data bus
  8. #define PIN_NUM_D1   13  // so a single register write sets/clears all bits.
  9. #define PIN_NUM_D2   26  // Pins can be randomly assigned, this does not affect
  10. #define PIN_NUM_D3   25  // TFT screen update performance.
  11. #define PIN_NUM_D4   27
  12. #define PIN_NUM_D5   12
  13. #define PIN_NUM_D6   14
  14. #define PIN_NUM_D7   4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement