@@ -29,11 +29,21 @@ HCISpiTransportClass HCISpiTransport(SpiHCI, SPBTLE_RF, PD13, PE6, PA8, 8000000,
29
29
BLELocalDevice BLE (&HCISpiTransport);
30
30
const int buttonPin = PC13; // set buttonPin to digital pin PC13
31
31
#else
32
- /* Shield IDB05A1 with SPI clock on D3 */
32
+ /* Shield IDB05A2 with SPI clock on D3 */
33
33
SPIClass SpiHCI (D11, D12, D3);
34
- HCISpiTransportClass HCISpiTransport (SpiHCI, SPBTLE_RF , A1, A0, D7, 8000000 , SPI_MODE0);
34
+ HCISpiTransportClass HCISpiTransport (SpiHCI, BLUENRG_M0 , A1, A0, D7, 8000000 , SPI_MODE0);
35
35
BLELocalDevice BLE (&HCISpiTransport);
36
36
const int buttonPin = PC13; // set buttonPin to digital pin PC13
37
+ /* Shield IDB05A2 with SPI clock on D13 */
38
+ /* #define SpiHCI SPI
39
+ HCISpiTransportClass HCISpiTransport(SpiHCI, BLUENRG_M0, A1, A0, D7, 8000000, SPI_MODE0);
40
+ BLELocalDevice BLE(&HCISpiTransport);
41
+ const int buttonPin = PC13; // set buttonPin to digital pin PC13 */
42
+ /* Shield IDB05A1 with SPI clock on D3 */
43
+ /* SPIClass SpiHCI(D11, D12, D3);
44
+ HCISpiTransportClass HCISpiTransport(SpiHCI, SPBTLE_RF, A1, A0, D7, 8000000, SPI_MODE0);
45
+ BLELocalDevice BLE(&HCISpiTransport);
46
+ const int buttonPin = PC13; // set buttonPin to digital pin PC13 */
37
47
/* Shield IDB05A1 with SPI clock on D13 */
38
48
/* #define SpiHCI SPI
39
49
HCISpiTransportClass HCISpiTransport(SpiHCI, SPBTLE_RF, A1, A0, D7, 8000000, SPI_MODE0);
0 commit comments