We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47dc108 commit d382f3aCopy full SHA for d382f3a
src/machine/board_nodemcu.go
@@ -19,3 +19,17 @@ const (
19
20
// Onboard blue LED (on the AI-Thinker module).
21
const LED = D4
22
+
23
+// SPI pins
24
+const (
25
+ SPI0_SCK_PIN = D5
26
+ SPI0_SDO_PIN = D7
27
+ SPI0_SDI_PIN = D6
28
+ SPI0_CS0_PIN = D8
29
+)
30
31
+// I2C pins
32
33
+ SDA_PIN = D2
34
+ SCL_PIN = D1
35
targets/d1mini.json
@@ -0,0 +1,3 @@
1
+{
2
+ "inherits": ["nodemcu"]
3
+}
0 commit comments