Building a BLE DC motor controller