SimpleControls works with the BLEController iOS/Android App. The mbed's pin can acts as DIGITAL_IN, DIGITAL_OUT, PWM, SERVO, ANALOG_IN. The sketch is to show you how to control the pin as one of the abilities.

Dependencies:   BLE_API mbed nRF51822

Auto generated API documentation and code listings for BLENano_SimpleControls

Code

main.cpp [code]
Servo.cpp [code]
Servo.h [code]