Skip to content

Commit 5d0ee68

Browse files
authored
Merge pull request #4 from cparata/master
Remove defines for X-NUCLEO examples because now we have a dedicated …
2 parents 85c3df7 + b299571 commit 5d0ee68

File tree

2 files changed

+0
-34
lines changed

2 files changed

+0
-34
lines changed

examples/SPBTLE_BeaconDemo/SPBTLE_BeaconDemo.ino

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
55
This sketch provides a default example how to use BLE with:
66
- Discovery L475VG IoT board
7-
- X_NUCLEO_IDB05A1 (BlueNRG-MS expansion board) on top of an STM32 Nucleo board
87
98
For the Beacon Service, two modes are supported:
109
- UID mode, you can choose the Namespace and the ID. This data are sent
@@ -29,9 +28,6 @@
2928
#include <SPBTLE_RF.h>
3029
#include <beacon_service.h>
3130

32-
/* Please uncomment one of the following config depending on board used */
33-
/* Discovery L475VG */
34-
/*
3531
#define PIN_SPI_MOSI (PC12)
3632
#define PIN_SPI_MISO (PC11)
3733
#define PIN_SPI_SCK (PC10)
@@ -41,19 +37,6 @@
4137
#define PIN_SPI_IRQ (PE6)
4238

4339
#define PIN_BLE_LED (LED4)
44-
*/
45-
/* X_NUCLEO_IDB05A1 */
46-
/*
47-
#define PIN_SPI_MOSI (11)
48-
#define PIN_SPI_MISO (12)
49-
#define PIN_SPI_SCK (3)
50-
51-
#define PIN_SPI_nCS (A1)
52-
#define PIN_SPI_RESET (7)
53-
#define PIN_SPI_IRQ (A0)
54-
55-
#define PIN_BLE_LED (0xFF)
56-
*/
5740

5841
// Configure BTLE_SPI
5942
SPIClass BTLE_SPI(PIN_SPI_MOSI, PIN_SPI_MISO, PIN_SPI_SCK);

examples/SPBTLE_SensorDemo/SPBTLE_SensorDemo.ino

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
55
This sketch provides a default example how to use BLE with:
66
- Discovery L475VG IoT board
7-
- X_NUCLEO_IDB05A1 (BlueNRG-MS expansion board) on top of an STM32 Nucleo board
87
98
For the Sensor Service sketch, 3 services are started : Acc, Environnemental and Time.
109
For testing the sketch, you can download on the playstore the "BlueNRG"
@@ -24,9 +23,6 @@
2423
#include <SPBTLE_RF.h>
2524
#include <sensor_service.h>
2625

27-
/* Please uncomment one of the following config depending on board used */
28-
/* Discovery L475VG */
29-
/*
3026
#define PIN_SPI_MOSI (PC12)
3127
#define PIN_SPI_MISO (PC11)
3228
#define PIN_SPI_SCK (PC10)
@@ -36,19 +32,6 @@
3632
#define PIN_SPI_IRQ (PE6)
3733

3834
#define PIN_BLE_LED (LED4)
39-
*/
40-
/* X_NUCLEO_IDB05A1 */
41-
/*
42-
#define PIN_SPI_MOSI (11)
43-
#define PIN_SPI_MISO (12)
44-
#define PIN_SPI_SCK (3)
45-
46-
#define PIN_SPI_nCS (A1)
47-
#define PIN_SPI_RESET (7)
48-
#define PIN_SPI_IRQ (A0)
49-
50-
#define PIN_BLE_LED (0xFF)
51-
*/
5235

5336
// Configure BTLE_SPI
5437
SPIClass BTLE_SPI(PIN_SPI_MOSI, PIN_SPI_MISO, PIN_SPI_SCK);

0 commit comments

Comments
 (0)