forked from espressif/arduino-esp32
add LOLIN D32 & D32 PRO Board support (#1688)
This commit is contained in:
committed by
Me No Dev
parent
2fba81223e
commit
3222e6490a
19
variants/d32_pro/pins_arduino.h
Normal file
19
variants/d32_pro/pins_arduino.h
Normal file
@ -0,0 +1,19 @@
|
||||
#ifndef Pins_Arduino_h
|
||||
#define Pins_Arduino_h
|
||||
|
||||
#include <stdint.h>
|
||||
#include <../d32/d32_core.h>
|
||||
|
||||
static const uint8_t LED_BUILTIN = 5;
|
||||
#define BUILTIN_LED LED_BUILTIN // backward compatibility
|
||||
static const uint8_t _VBAT = 35; // battery voltage
|
||||
|
||||
|
||||
static const uint8_t TF_CS = 4; // TF (Micro SD Card) CS pin
|
||||
static const uint8_t TS_CS = 12; // Touch Screen CS pin
|
||||
static const uint8_t TFT_CS = 14; // TFT CS pin
|
||||
static const uint8_t TFT_LED = 32; // TFT backlight control pin
|
||||
static const uint8_t TFT_RST = 33; // TFT reset pin
|
||||
static const uint8_t TFT_DC = 27; // TFT DC pin
|
||||
|
||||
#endif /* Pins_Arduino_h */
|
Reference in New Issue
Block a user