from bbc microbit library
Dependencies: BLE_API mbed-dev-bin nRF51822
Fork of microbit-dal by
Diff: inc/core/MicroBitConfig.h
- Revision:
- 63:b4372a29994f
- Parent:
- 27:2f494ead23de
- Child:
- 65:f7ebabf23e15
diff -r e633e0eeaf19 -r b4372a29994f inc/core/MicroBitConfig.h --- a/inc/core/MicroBitConfig.h Wed Jul 13 12:18:41 2016 +0100 +++ b/inc/core/MicroBitConfig.h Wed Jul 13 12:18:42 2016 +0100 @@ -320,6 +320,19 @@ // +// I/O Options +// + + +// +// Define the default mode in which the digital input pins are configured. +// valid options are PullDown, PullUp and PullNone. +// +#ifndef MICROBIT_DEFAULT_PULLMODE +#define MICROBIT_DEFAULT_PULLMODE PullDown +#endif + +// // Panic options //