8000 Create pins_arduino.h for Node32s(#64) · GiraffeGiraffe/arduino-esp32@67fd652 · GitHub
[go: up one dir, main page]

Skip to content
Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 67fd652

Browse files
lamloeime-no-dev
authored andcommitted
Create pins_arduino.h for Node32s(espressif#64)
1 parent dbf030f commit 67fd652

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

variants/node32s/pins_arduino.h

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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
84BE
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

Comments
 (0)
0