Other Parts Discussed in Thread: CC2640, L293D, ENERGIA
Tool/software: Code Composer Studio
Hi,
I have LAUNCHXL-CC2640R2
I have implemented project zero with BLE Scanner and able to control on board LEDs
I want to make a Bluetooth controlled car such that wwhen I enter 1 on Android app, it should get transmitted via bluetooth to CC2640 and start moving the motors and simalarly for left and right
Now, I want to connect L293D motor driver to control 2 small DC motors and HCSR04 Ultrasonic sensor.
After searching a lot, I am still not getting how to interface Motor driver and sensor with CC2640R2. I am familier with MSP430 interface with Energia.
I am new to CCS ( since CC2640R2 does not support Energia)
Following are my issues
1) How to initialize GPIO pins for CC2640 to connect motor driver in CCS
2) How to modify the CCS code for project zero and add motor driver code
3) where can i find source code for android app ( I want to integrate this functionality in a custom Android app with other features)