File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 66#define USB_VID 0x303a
77#define USB_PID 0x1001
88
9- // #define EXTERNAL_NUM_INTERRUPTS 46
9+ #define EXTERNAL_NUM_INTERRUPTS 20
1010#define NUM_DIGITAL_PINS 20
1111#define NUM_ANALOG_INPUTS 6
1212
13+ #define analogInputToDigitalPin (p ) (((p)<6)?(analogChannelToDigitalPin(p)):-1)
14+ #define digitalPinToInterrupt (p ) (((p)<20)?(p):-1)
15+ #define digitalPinHasPWM (p ) (p < 20)
16+
1317
1418static const uint8_t LED_BUILTIN = 45 ;
1519#define BUILTIN_LED LED_BUILTIN // backward compatibility
@@ -20,12 +24,8 @@ static const uint8_t LED_BUILTIN = 45;
2024static const uint8_t TX = 43 ;
2125static const uint8_t RX = 44 ;
2226
23- static const uint8_t SDA = 02 ;
24- static const uint8_t SCL = 01 ;
25-
26- static const uint8_t ACC_SDA = 12 ;
27- static const uint8_t ACC_SCL = 13 ;
28-
27+ static const uint8_t SDA = 12 ;
28+ static const uint8_t SCL = 13 ;
2929
3030static const uint8_t SS = 41 ;
3131static const uint8_t MOSI = 40 ;
You can’t perform that action at this time.
0 commit comments