Hi there,
I am using the Wireless Connectivity Dev. Kit with CC2540DK-Mini (http://www.ti.com/lit/ml/swru272a/swru272a.pdf) with the standard software ( CC2540 keyfob), witch was already include on the Dev. Kit.
My iPhone is a iPhone 5, iOS 7.1.
My Challenge now is to control the test pins on this Dev Kit Board the an iPhone App.
I know Pins
1 - P0.6
2 - P1.5
3 - P0.7
4 - P1.7
5 - P0.1
6 - P1.4
7 - P0.0
8 - P1.3
9 - not connected
10 - P1.2
I know also to use:
- P0SEL=0; -->set the pin as a General Purpose Input/Output
- P0DIR=0xFF; -->set the pin direction
- P0=0xFF; -->set all pins of port 0 to high
But I do I do it for iPhone or in Obejctiv-C. What is the meaning of SEL, DIR in Objectiv-C.
I really despair :((
Please help me.
Cheers
isicom