Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // SHARED UART SETTINGS
- // ----------------------------------------------------------------------------------------------
- // The following sets the optional Mode pin, its recommended but not required
- // ----------------------------------------------------------------------------------------------
- #define BLUEFRUIT_UART_MODE_PIN 12 // Set to -1 if unused
- // SHARED SPI SETTINGS
- // ----------------------------------------------------------------------------------------------
- // The following macros declare the pins to use for HW and SW SPI communication.
- // SCK, MISO and MOSI should be connected to the HW SPI pins on the Uno when
- // using HW SPI. This should be used with nRF51822 based Bluefruit LE modules
- // that use SPI (Bluefruit LE SPI Friend).
- // ----------------------------------------------------------------------------------------------
- #define BLUEFRUIT_SPI_CS 8
- //#define BLUEFRUIT_SPI_IRQ 7
- //#define BLUEFRUIT_SPI_RST 6 // Optional but recommended, set to -1 if unused
- // SOFTWARE SPI SETTINGS
- // ----------------------------------------------------------------------------------------------
- // The following macros declare the pins to use for SW SPI communication.
- // This should be used with nRF51822 based Bluefruit LE modules that use SPI
- // (Bluefruit LE SPI Friend).
- // ----------------------------------------------------------------------------------------------
- //#define BLUEFRUIT_SPI_SCK 13
- //#define BLUEFRUIT_SPI_MISO 12
- //#define BLUEFRUIT_SPI_MOSI 11
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement