Advertisement
Guest User

Second Tab

a guest
Feb 5th, 2016
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.57 KB | None | 0 0
  1. // SHARED UART SETTINGS
  2. // ----------------------------------------------------------------------------------------------
  3. // The following sets the optional Mode pin, its recommended but not required
  4. // ----------------------------------------------------------------------------------------------
  5. #define BLUEFRUIT_UART_MODE_PIN 12 // Set to -1 if unused
  6.  
  7.  
  8. // SHARED SPI SETTINGS
  9. // ----------------------------------------------------------------------------------------------
  10. // The following macros declare the pins to use for HW and SW SPI communication.
  11. // SCK, MISO and MOSI should be connected to the HW SPI pins on the Uno when
  12. // using HW SPI. This should be used with nRF51822 based Bluefruit LE modules
  13. // that use SPI (Bluefruit LE SPI Friend).
  14. // ----------------------------------------------------------------------------------------------
  15. #define BLUEFRUIT_SPI_CS 8
  16. //#define BLUEFRUIT_SPI_IRQ 7
  17. //#define BLUEFRUIT_SPI_RST 6 // Optional but recommended, set to -1 if unused
  18.  
  19. // SOFTWARE SPI SETTINGS
  20. // ----------------------------------------------------------------------------------------------
  21. // The following macros declare the pins to use for SW SPI communication.
  22. // This should be used with nRF51822 based Bluefruit LE modules that use SPI
  23. // (Bluefruit LE SPI Friend).
  24. // ----------------------------------------------------------------------------------------------
  25. //#define BLUEFRUIT_SPI_SCK 13
  26. //#define BLUEFRUIT_SPI_MISO 12
  27. //#define BLUEFRUIT_SPI_MOSI 11
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement