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.
Diff: Input/ExternalInt/ExternalInt.cpp
- Revision:
- 22:7d93f79a3686
- Parent:
- 19:96a462583af9
--- a/Input/ExternalInt/ExternalInt.cpp Mon Sep 09 00:19:28 2019 +0000
+++ b/Input/ExternalInt/ExternalInt.cpp Tue Sep 17 04:40:17 2019 +0000
@@ -6,26 +6,14 @@
InterruptIn BoardInt[] = {
InterruptIn(INT0_PIN),
InterruptIn(INT1_PIN),
- InterruptIn(INT2_PIN),
- InterruptIn(INT3_PIN),
- InterruptIn(INT4_PIN),
-// InterruptIn(INT5_PIN),
};
namespace EXTERNALINT {
void Int::Initialize() {
BoardInt[0].mode(PullUp);
BoardInt[1].mode(PullUp);
- BoardInt[2].mode(PullUp);
- BoardInt[3].mode(PullUp);
- BoardInt[4].mode(PullUp);
-// BoardInt[5].mode(PullUp);
BoardInt[0].fall(int0);
BoardInt[1].fall(int1);
- BoardInt[2].fall(int1);
- BoardInt[3].fall(int1);
- BoardInt[4].fall(int1);
-// BoardInt[5].fall(int1);
}
}