Add "Noduino Quantum" board (#49)

* Add "Noduino Quantum" board

* change the value of build.board from Quantum to QUANTUM
This commit is contained in:
MaiKe Labs
2016-11-13 23:35:26 +08:00
committed by Me No Dev
parent d8aa61fa52
commit ff9d1fb05c
2 changed files with 59 additions and 0 deletions

View File

@ -0,0 +1,20 @@
#ifndef Pins_Arduino_h
#define Pins_Arduino_h
#define EXTERNAL_NUM_INTERRUPTS 16
#define NUM_DIGITAL_PINS 40
#define NUM_ANALOG_INPUTS 18
#define analogInputToDigitalPin(p)
#define digitalPinToInterrupt(p) (((p)<40)?(p):-1)
#define digitalPinHasPWM(p) (p < 34)
static const uint8_t SDA = 22;
static const uint8_t SCL = 21;
static const uint8_t SS = 5;
static const uint8_t MOSI = 23;
static const uint8_t MISO = 19;
static const uint8_t SCK = 18;
#endif /* Pins_Arduino_h */