File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
variants/adafruit_feather_dvi Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 9
9
// NeoPixel
10
10
#define PIN_NEOPIXEL (4u)
11
11
12
+ // 'Boot0' button also on GPIO #7
13
+ #define PIN_BUTTON (7u)
14
+
12
15
// Serial
13
16
#define PIN_SERIAL1_TX (0u)
14
17
#define PIN_SERIAL1_RX (1u)
22
25
#define PIN_SPI0_MOSI (15u)
23
26
#define PIN_SPI0_SCK (14u)
24
27
#define PIN_SPI0_SS (13u)
28
+ #define __SPI0_DEVICE spi1
25
29
26
30
// Not pinned out
27
31
#define PIN_SPI1_MISO (31u)
28
32
#define PIN_SPI1_MOSI (31u)
29
33
#define PIN_SPI1_SCK (31u)
30
34
#define PIN_SPI1_SS (31u)
35
+ #define __SPI1_DEVICE spi0
31
36
32
37
// Wire
33
38
#define PIN_WIRE0_SDA (2u)
34
39
#define PIN_WIRE0_SCL (3u)
40
+ #define __WIRE0_DEVICE i2c1
41
+
35
42
#define PIN_WIRE1_SDA (31u)
36
43
#define PIN_WIRE1_SCL (31u)
44
+ #define __WIRE1_DEVICE i2c0
37
45
38
46
#define SERIAL_HOWMANY (2u)
39
47
#define SPI_HOWMANY (1u)
You can’t perform that action at this time.
0 commit comments