123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113 |
- #ifndef ARDUINO_PRIMO_H
- #define ARDUINO_PRIMO_H
- #ifdef __cplusplus
- extern "C" {
- #endif
- #define LEDS_NUMBER 1
- #define LED_1 20
- #define LEDS_ACTIVE_STATE 0
- #define LEDS_LIST { LED_1}
- #define BSP_LED_0 LED_1
- #define LEDS_INV_MASK 0
- #define BUTTONS_NUMBER 1
- #define BUTTON_START 7
- #define BUTTON_1 7
- #define BUTTON_STOP 7
- #define BUTTON_PULL NRF_GPIO_PIN_PULLUP
- #define BUTTONS_ACTIVE_STATE 0
- #define BUTTONS_LIST { BUTTON_1 }
- #define BSP_BUTTON_0 BUTTON_1
- #define RX_PIN_NUMBER 11
- #define TX_PIN_NUMBER 12
- #define CTS_PIN_NUMBER UART_PIN_DISCONNECTED
- #define RTS_PIN_NUMBER UART_PIN_DISCONNECTED
- #define HWFC false
- #define BUZZER_PIN_NUMBER 8
- #define ARDUINO_SCL_PIN 27
- #define ARDUINO_SDA_PIN 26
- #define ARDUINO_AREF_PIN 2
- #define ARDUINO_13_PIN 25
- #define ARDUINO_12_PIN 24
- #define ARDUINO_11_PIN 23
- #define ARDUINO_10_PIN 22
- #define ARDUINO_9_PIN 20
- #define ARDUINO_8_PIN 19
- #define ARDUINO_7_PIN 18
- #define ARDUINO_6_PIN 17
- #define ARDUINO_5_PIN 16
- #define ARDUINO_4_PIN 15
- #define ARDUINO_3_PIN 14
- #define ARDUINO_2_PIN 13
- #define ARDUINO_1_PIN 12
- #define ARDUINO_0_PIN 11
- #define ARDUINO_A0_PIN 3
- #define ARDUINO_A1_PIN 4
- #define ARDUINO_A2_PIN 28
- #define ARDUINO_A3_PIN 29
- #define ARDUINO_A4_PIN 30
- #define ARDUINO_A5_PIN 31
- #ifdef __cplusplus
- }
- #endif
- #endif
|