2018-07-28 09:27:26 +02:00
|
|
|
#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
|
2020-11-10 19:50:35 +01:00
|
|
|
#define LED_BUILTIN LED_BUILTIN
|
2018-07-28 09:27:26 +02:00
|
|
|
static const uint8_t _VBAT = 35; // battery voltage
|
|
|
|
|
|
|
|
|
2018-09-17 21:21:51 +02:00
|
|
|
#define TF_CS 4 // TF (Micro SD Card) CS pin
|
|
|
|
#define TS_CS 12 // Touch Screen CS pin
|
|
|
|
#define TFT_CS 14 // TFT CS pin
|
|
|
|
#define TFT_LED 32 // TFT backlight control pin
|
|
|
|
#define TFT_RST 33 // TFT reset pin
|
|
|
|
#define TFT_DC 27 // TFT DC pin
|
2018-07-28 09:27:26 +02:00
|
|
|
|
2018-12-06 19:13:30 +01:00
|
|
|
#define SS TF_CS
|
|
|
|
|
2018-07-28 09:27:26 +02:00
|
|
|
#endif /* Pins_Arduino_h */
|