arduino-esp32/variants/nano32/pins_arduino.h

22 lines
534 B
C
Raw Normal View History

2016-10-19 11:28:05 +02:00
#ifndef Pins_Arduino_h
#define Pins_Arduino_h
#define EXTERNAL_NUM_INTERRUPTS 16
#define NUM_DIGITAL_PINS 38
#define NUM_ANALOG_INPUTS 18
#define analogInputToDigitalPin(p)
2016-10-26 01:00:39 +02:00
#define digitalPinToInterrupt(p) (((p)<40)?(p):-1)
#define digitalPinHasPWM(p) (p < 34)
2016-10-19 11:28:05 +02:00
#define LED_BUILTIN 16
static const uint8_t SDA = 21;
static const uint8_t SCL = 22;
static const uint8_t SS = 2;
static const uint8_t MOSI = 23;
static const uint8_t MISO = 19;
static const uint8_t SCK = 18;
#endif /* Pins_Arduino_h */