Skip to content

Commit 2139c10

Browse files
committed
Merge pull request #38 from ytsuboi/master
Added LPC1114 support and fixed hard fault
2 parents 10c7a71 + c26d2a9 commit 2139c10

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

libraries/tests/mbed/timeout/main.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ DigitalOut out(PTB1);
1111
#elif defined(TARGET_LPC812)
1212
DigitalOut out(P0_12);
1313

14+
#elif defined(TARGET_LPC1114)
15+
DigitalOut out(LED2);
16+
1417
#else
1518
DigitalOut out(p5);
1619
#endif
@@ -33,4 +36,5 @@ void toggleOff(void) {
3336

3437
int main() {
3538
toggleOn();
39+
while(1);
3640
}

0 commit comments

Comments
 (0)