Skip to content

Commit

Permalink
Merge pull request #4 from cparata/master
Browse files Browse the repository at this point in the history
Remove defines for X-NUCLEO examples because now we have a dedicated …
  • Loading branch information
cparata authored Nov 23, 2017
2 parents 85c3df7 + b299571 commit 5d0ee68
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 34 deletions.
17 changes: 0 additions & 17 deletions examples/SPBTLE_BeaconDemo/SPBTLE_BeaconDemo.ino
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
This sketch provides a default example how to use BLE with:
- Discovery L475VG IoT board
- X_NUCLEO_IDB05A1 (BlueNRG-MS expansion board) on top of an STM32 Nucleo board
For the Beacon Service, two modes are supported:
- UID mode, you can choose the Namespace and the ID. This data are sent
Expand All @@ -29,9 +28,6 @@
#include <SPBTLE_RF.h>
#include <beacon_service.h>

/* Please uncomment one of the following config depending on board used */
/* Discovery L475VG */
/*
#define PIN_SPI_MOSI (PC12)
#define PIN_SPI_MISO (PC11)
#define PIN_SPI_SCK (PC10)
Expand All @@ -41,19 +37,6 @@
#define PIN_SPI_IRQ (PE6)

#define PIN_BLE_LED (LED4)
*/
/* X_NUCLEO_IDB05A1 */
/*
#define PIN_SPI_MOSI (11)
#define PIN_SPI_MISO (12)
#define PIN_SPI_SCK (3)
#define PIN_SPI_nCS (A1)
#define PIN_SPI_RESET (7)
#define PIN_SPI_IRQ (A0)
#define PIN_BLE_LED (0xFF)
*/

// Configure BTLE_SPI
SPIClass BTLE_SPI(PIN_SPI_MOSI, PIN_SPI_MISO, PIN_SPI_SCK);
Expand Down
17 changes: 0 additions & 17 deletions examples/SPBTLE_SensorDemo/SPBTLE_SensorDemo.ino
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
This sketch provides a default example how to use BLE with:
- Discovery L475VG IoT board
- X_NUCLEO_IDB05A1 (BlueNRG-MS expansion board) on top of an STM32 Nucleo board
For the Sensor Service sketch, 3 services are started : Acc, Environnemental and Time.
For testing the sketch, you can download on the playstore the "BlueNRG"
Expand All @@ -24,9 +23,6 @@
#include <SPBTLE_RF.h>
#include <sensor_service.h>

/* Please uncomment one of the following config depending on board used */
/* Discovery L475VG */
/*
#define PIN_SPI_MOSI (PC12)
#define PIN_SPI_MISO (PC11)
#define PIN_SPI_SCK (PC10)
Expand All @@ -36,19 +32,6 @@
#define PIN_SPI_IRQ (PE6)

#define PIN_BLE_LED (LED4)
*/
/* X_NUCLEO_IDB05A1 */
/*
#define PIN_SPI_MOSI (11)
#define PIN_SPI_MISO (12)
#define PIN_SPI_SCK (3)
#define PIN_SPI_nCS (A1)
#define PIN_SPI_RESET (7)
#define PIN_SPI_IRQ (A0)
#define PIN_BLE_LED (0xFF)
*/

// Configure BTLE_SPI
SPIClass BTLE_SPI(PIN_SPI_MOSI, PIN_SPI_MISO, PIN_SPI_SCK);
Expand Down

0 comments on commit 5d0ee68

Please sign in to comment.