We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dbf030f commit 67fd652Copy full SHA for 67fd652
variants/node32s/pins_arduino.h
@@ -0,0 +1,20 @@
1
+#ifndef Pins_Arduino_h
2
+#define Pins_Arduino_h
3
+
4
+#define EXTERNAL_NUM_INTERRUPTS 16
5
+#define NUM_DIGITAL_PINS 40
6
+#define NUM_ANALOG_INPUTS 18
7
8
+#define analogInputToDigitalPin(p)
9
+#define digitalPinToInterrupt(p) (((p)<40)?(p):-1)
10
+#define digitalPinHasPWM(p) (p < 34)
11
12
+static const uint8_t SDA = 21;
13
+static const uint8_t SCL = 22;
14
15
+static const uint8_t SS = 5;
16
+static const uint8_t MOSI = 23;
17
+static const uint8_t MISO = 19;
18
+static const uint8_t SCK = 18;
19
20
+#endif /* Pins_Arduino_h */
0 commit comments