Hendrik Langer
8 years ago
5 changed files with 38 additions and 7 deletions
@ -0,0 +1,33 @@ |
|||
#ifndef _HARDWARE_H |
|||
#define _HARDWARE_H |
|||
|
|||
/* Touch sensors keypad
|
|||
* PCB Layout: see ESP32 Datasheet A.2. PCB Layout |
|||
*/ |
|||
#define TOUCH_PAD_NUM 10 |
|||
|
|||
//Touch0 GPIO 4
|
|||
//Touch1 GPIO 0 /* don't use: pullup on dev board */
|
|||
//Touch2 GPIO 2 /* don't use: pullup on dev board */
|
|||
//Touch3 GPIO15
|
|||
//Touch4 GPIO13
|
|||
//Touch5 GPIO12
|
|||
//Touch6 GPIO14
|
|||
//Touch7 GPIO27
|
|||
//Touch8 GPIO33
|
|||
//Touch9 GPIO32
|
|||
|
|||
#define LED_PIN 21 |
|||
|
|||
/* SD card
|
|||
*/ |
|||
#define PIN_SD_CD 17 |
|||
#define PIN_SD_CS 5 |
|||
|
|||
/* I2S
|
|||
*/ |
|||
#define I2S_NUM 0 |
|||
|
|||
#define BUF_LENGTH 1024 |
|||
|
|||
#endif /* _HARDWARE_H */ |
Loading…
Reference in new issue