bluetooth control motor
Dependents: BLE_LED_IDB0XA1_demo MOTOR_BLE_V2 Motor_Ble_v1 Motor_Ble_v10223 ... more
Fork of X_NUCLEO_IDB0XA1 by
Revision 309:492635ae323d, committed 2018-02-04
- Comitter:
- barry210110
- Date:
- Sun Feb 04 06:55:14 2018 +0000
- Parent:
- 308:62a5f4d70c62
- Commit message:
- final
Changed in this revision
source/BlueNRGDevice.cpp | Show annotated file Show diff for this revision Revisions of this file |
x-nucleo-idb0xa1/BlueNRGDevice.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/source/BlueNRGDevice.cpp Thu Feb 01 07:50:56 2018 +0000 +++ b/source/BlueNRGDevice.cpp Sun Feb 04 06:55:14 2018 +0000 @@ -447,7 +447,7 @@ } /* Release CS line */ - //HAL_GPIO_WritePin(BNRG_SPI_CS_PORT, BNRG_SPI_CS_PIN, GPIO_PIN_SET); + // HAL_GPIO_WritePin(BNRG_SPI_CS_PORT, BNRG_SPI_CS_PIN, GPIO_PIN_SET); nCS_ = 1; enable_irq();
--- a/x-nucleo-idb0xa1/BlueNRGDevice.h Thu Feb 01 07:50:56 2018 +0000 +++ b/x-nucleo-idb0xa1/BlueNRGDevice.h Sun Feb 04 06:55:14 2018 +0000 @@ -95,7 +95,7 @@ virtual void processEvents(); -//public: +private: bool isInitialized; SPI spi_;