mbed.org local branch of microbit-dal. The real version lives in git at https://github.com/lancaster-university/microbit-dal
Dependencies: BLE_API nRF51822 mbed-dev-bin
Dependents: microbit Microbit IoTChallenge1 microbit ... more
Diff: inc/drivers/MicroBitPin.h
- Revision:
- 45:23b71960fe6c
- Parent:
- 37:b624ae5e94a5
- Child:
- 49:88f03f3feff1
diff -r bb4aa1985f37 -r 23b71960fe6c inc/drivers/MicroBitPin.h --- a/inc/drivers/MicroBitPin.h Wed Jul 13 12:18:23 2016 +0100 +++ b/inc/drivers/MicroBitPin.h Wed Jul 13 12:18:24 2016 +0100 @@ -72,10 +72,8 @@ enum PinCapability{ PIN_CAPABILITY_DIGITAL = 0x01, PIN_CAPABILITY_ANALOG = 0x02, - PIN_CAPABILITY_TOUCH = 0x04, PIN_CAPABILITY_AD = PIN_CAPABILITY_DIGITAL | PIN_CAPABILITY_ANALOG, - PIN_CAPABILITY_ALL = PIN_CAPABILITY_DIGITAL | PIN_CAPABILITY_ANALOG | PIN_CAPABILITY_TOUCH - + PIN_CAPABILITY_ALL = PIN_CAPABILITY_DIGITAL | PIN_CAPABILITY_ANALOG }; /** @@ -117,7 +115,7 @@ * @param name the mbed PinName for this MicroBitPin instance. * * @param capability the capabilities this MicroBitPin instance should have. - * (PIN_CAPABILITY_DIGITAL, PIN_CAPABILITY_ANALOG, PIN_CAPABILITY_TOUCH, PIN_CAPABILITY_AD, PIN_CAPABILITY_ALL) + * (PIN_CAPABILITY_DIGITAL, PIN_CAPABILITY_ANALOG, PIN_CAPABILITY_AD, PIN_CAPABILITY_ALL) * * @code * MicroBitPin P0(MICROBIT_ID_IO_P0, MICROBIT_PIN_P0, PIN_CAPABILITY_ALL);