hi,
I have cc2540 usb dongle and before I start to try ble applications on it,I want to write a simple code on the hardware of cc2540 usb dongle,I just want to toggle red led on button press.i am not using ble stack,please tell me that how can I initialize peripheral of cc2540 and how would I initialize the pins or make it input or output for my code.please let me know about this.
because I have done programming with ti controllers lm3s series.it is very easy in it to use gpio pins and play with it.but I have not any knowledge about cc2540 chip