File tree Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,10 @@ DigitalIn in(PTC7);
9
9
DigitalOut out (PTB11);
10
10
DigitalIn in (PTB1);
11
11
12
+ #elif defined(TARGET_LPC1114)
13
+ DigitalOut out (dp1);
14
+ DigitalIn in (dp2);
15
+
12
16
#else
13
17
DigitalOut out (p5);
14
18
DigitalIn in (p25);
Original file line number Diff line number Diff line change @@ -8,6 +8,10 @@ DigitalInOut d2(PTC7);
8
8
DigitalInOut d1 (PTB11);
9
9
DigitalInOut d2 (PTB1);
10
10
11
+ #elif defined(TARGET_LPC1114)
12
+ DigitalInOut d1 (dp1);
13
+ DigitalInOut d2 (dp2);
14
+
11
15
#else
12
16
DigitalInOut d1 (p5);
13
17
DigitalInOut d2 (p25);
Original file line number Diff line number Diff line change @@ -25,6 +25,10 @@ void in_handler() {
25
25
#define PIN_IN (p5)
26
26
#define PIN_OUT (p25)
27
27
28
+ #elif defined(TARGET_LPC1114)
29
+ #define PIN_OUT (dp1)
30
+ #define PIN_IN (dp2);
31
+
28
32
#endif
29
33
30
34
DigitalOut out (PIN_OUT);
You can’t perform that action at this time.
0 commit comments