Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
黑眼圈子
arduino-esp32
提交
5724275c
A
arduino-esp32
项目概览
黑眼圈子
/
arduino-esp32
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
arduino-esp32
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
5724275c
编写于
12月 22, 2021
作者:
L
Limor "Ladyada" Fried
提交者:
GitHub
12月 22, 2021
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix tft feather pins for final version, qtpy spi pins, and add reversetft start (#6050)
SPI fix for QT Py, TFT fix for TFT Feather
上级
1c94c38d
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
88 addition
and
6 deletion
+88
-6
variants/adafruit_feather_esp32s2_reversetft/bootloader.bin
variants/adafruit_feather_esp32s2_reversetft/bootloader.bin
+0
-0
variants/adafruit_feather_esp32s2_reversetft/partitions.csv
variants/adafruit_feather_esp32s2_reversetft/partitions.csv
+11
-0
variants/adafruit_feather_esp32s2_reversetft/pins_arduino.h
variants/adafruit_feather_esp32s2_reversetft/pins_arduino.h
+68
-0
variants/adafruit_feather_esp32s2_reversetft/tinyuf2.bin
variants/adafruit_feather_esp32s2_reversetft/tinyuf2.bin
+0
-0
variants/adafruit_feather_esp32s2_tft/bootloader.bin
variants/adafruit_feather_esp32s2_tft/bootloader.bin
+0
-0
variants/adafruit_feather_esp32s2_tft/pins_arduino.h
variants/adafruit_feather_esp32s2_tft/pins_arduino.h
+5
-4
variants/adafruit_feather_esp32s2_tft/tinyuf2.bin
variants/adafruit_feather_esp32s2_tft/tinyuf2.bin
+0
-0
variants/adafruit_qtpy_esp32s2/pins_arduino.h
variants/adafruit_qtpy_esp32s2/pins_arduino.h
+4
-2
未找到文件。
variants/adafruit_feather_esp32s2_reversetft/bootloader.bin
0 → 100644
浏览文件 @
5724275c
文件已添加
variants/adafruit_feather_esp32s2_reversetft/partitions.csv
0 → 100644
浏览文件 @
5724275c
# ESP-IDF Partition Table
# Name, Type, SubType, Offset, Size, Flags
# bootloader.bin,, 0x1000, 32K
# partition table, 0x8000, 4K
nvs, data, nvs, 0x9000, 20K,
otadata, data, ota, 0xe000, 8K,
ota_0, 0, ota_0, 0x10000, 1408K,
ota_1, 0, ota_1, 0x170000, 1408K,
uf2, app, factory,0x2d0000, 256K,
ffat, data, fat, 0x310000, 960K,
variants/adafruit_feather_esp32s2_reversetft/pins_arduino.h
0 → 100644
浏览文件 @
5724275c
#ifndef Pins_Arduino_h
#define Pins_Arduino_h
#include <stdint.h>
#define USB_VID 0x239A
#define USB_PID 0x80ED
#define USB_MANUFACTURER "Adafruit"
#define USB_PRODUCT "Feather ESP32-S2 Reverse TFT"
#define USB_SERIAL "" // Empty string for MAC adddress
#define EXTERNAL_NUM_INTERRUPTS 46
#define NUM_DIGITAL_PINS 48
#define NUM_ANALOG_INPUTS 20
#define analogInputToDigitalPin(p) (((p)<20)?(esp32_adc2gpio[(p)]):-1)
#define digitalPinToInterrupt(p) (((p)<48)?(p):-1)
#define digitalPinHasPWM(p) (p < 46)
#define LED_BUILTIN 13
#define PIN_NEOPIXEL 33
#define NEOPIXEL_NUM 1 // number of neopixels
#define NEOPIXEL_POWER 21 // power pin
#define NEOPIXEL_POWER_ON HIGH // power pin state when on
#define TFT_I2C_POWER 7
#define TFT_CS 42
#define TFT_RST 41
#define TFT_DC 40
#define TFT_BACKLITE 45
static
const
uint8_t
SDA
=
3
;
static
const
uint8_t
SCL
=
4
;
static
const
uint8_t
SS
=
42
;
static
const
uint8_t
MOSI
=
35
;
static
const
uint8_t
SCK
=
36
;
static
const
uint8_t
MISO
=
37
;
static
const
uint8_t
A0
=
18
;
static
const
uint8_t
A1
=
17
;
static
const
uint8_t
A2
=
16
;
static
const
uint8_t
A3
=
15
;
static
const
uint8_t
A4
=
14
;
static
const
uint8_t
A5
=
8
;
static
const
uint8_t
TX
=
39
;
static
const
uint8_t
RX
=
38
;
static
const
uint8_t
TX1
=
39
;
static
const
uint8_t
RX1
=
38
;
static
const
uint8_t
T5
=
5
;
static
const
uint8_t
T6
=
6
;
static
const
uint8_t
T8
=
8
;
static
const
uint8_t
T9
=
9
;
static
const
uint8_t
T10
=
10
;
static
const
uint8_t
T11
=
11
;
static
const
uint8_t
T12
=
12
;
static
const
uint8_t
T13
=
13
;
static
const
uint8_t
T14
=
14
;
static
const
uint8_t
DAC1
=
17
;
static
const
uint8_t
DAC2
=
18
;
#endif
/* Pins_Arduino_h */
variants/adafruit_feather_esp32s2_reversetft/tinyuf2.bin
0 → 100644
浏览文件 @
5724275c
文件已添加
variants/adafruit_feather_esp32s2_tft/bootloader.bin
浏览文件 @
5724275c
无法预览此类型文件
variants/adafruit_feather_esp32s2_tft/pins_arduino.h
浏览文件 @
5724275c
...
...
@@ -26,15 +26,16 @@
#define NEOPIXEL_POWER 34 // power pin
#define NEOPIXEL_POWER_ON HIGH // power pin state when on
#define TFT_CS 42
#define TFT_RST 41
#define TFT_DC 40
#define TFT_I2C_POWER 21
#define TFT_CS 7
#define TFT_RST 40
#define TFT_DC 39
#define TFT_BACKLITE 45
static
const
uint8_t
SDA
=
42
;
static
const
uint8_t
SCL
=
41
;
static
const
uint8_t
SS
=
21
;
static
const
uint8_t
SS
=
7
;
static
const
uint8_t
MOSI
=
35
;
static
const
uint8_t
SCK
=
36
;
static
const
uint8_t
MISO
=
37
;
...
...
variants/adafruit_feather_esp32s2_tft/tinyuf2.bin
浏览文件 @
5724275c
无法预览此类型文件
variants/adafruit_qtpy_esp32s2/pins_arduino.h
浏览文件 @
5724275c
...
...
@@ -34,8 +34,8 @@ static const uint8_t SCL1 = 40;
static
const
uint8_t
SS
=
42
;
static
const
uint8_t
MOSI
=
35
;
static
const
uint8_t
SCK
=
3
4
;
static
const
uint8_t
MISO
=
3
3
;
static
const
uint8_t
SCK
=
3
6
;
static
const
uint8_t
MISO
=
3
7
;
static
const
uint8_t
A0
=
18
;
static
const
uint8_t
A1
=
17
;
...
...
@@ -48,6 +48,8 @@ static const uint8_t A7 = 16;
static
const
uint8_t
TX
=
5
;
static
const
uint8_t
RX
=
16
;
#define TX1 TX
#define RX1 RX
static
const
uint8_t
T5
=
5
;
static
const
uint8_t
T6
=
6
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录