Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BLE_API mbed-dev nRF51822
Diff: main.cpp
- Revision:
- 20:d8840ac38434
- Parent:
- 17:3233ee19f716
- Child:
- 21:d801c32231b0
--- a/main.cpp Mon Aug 22 13:08:40 2016 +0000 +++ b/main.cpp Mon Aug 22 14:37:16 2016 +0000 @@ -221,13 +221,13 @@ DigitalIn buttonIntIn(P0_5); // Unsed pins. Set to output for power consumption -DigitalOut unused_p0_4(P0_4, 0); -DigitalOut unused_p0_7(P0_7, 0); -DigitalOut unused_p0_6(P0_6, 0); -DigitalOut unused_p0_15(P0_15, 0); -DigitalOut unused_p0_29(P0_29, 0); -DigitalOut unused_p0_28(P0_28, 0); -DigitalOut unused_p0_19(P0_19, 0); // This is on board LED +DigitalIn unused_p0_4(P0_4, PullUp); +DigitalIn unused_p0_7(P0_7, PullUp); +DigitalIn unused_p0_6(P0_6, PullUp); +DigitalIn unused_p0_15(P0_15, PullUp); +DigitalIn unused_p0_29(P0_29, PullUp); +DigitalIn unused_p0_28(P0_28, PullUp); +DigitalIn unused_p0_19(P0_19, PullUp); // This is on board LED which connected to VDD // ROWS=8