System Management code

Dependencies:   mbed CANBuffer Watchdog MODSERIAL mbed-rtos xbeeRelay IAP

Fork of SystemManagement by Martin Deng

Files at this revision

API Documentation at this revision

Comitter:
pspatel321
Date:
Fri Oct 24 22:30:57 2014 +0000
Parent:
13:fbd9b3f5a07c
Child:
15:370d320a11a9
Child:
26:78c0d7facfa7
Commit message:
LPCDigitalIn pull down in pollswitch

Changed in this revision

PollSwitch/PollSwitch.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/PollSwitch/PollSwitch.cpp	Fri Oct 24 22:09:04 2014 +0000
+++ b/PollSwitch/PollSwitch.cpp	Fri Oct 24 22:30:57 2014 +0000
@@ -2,7 +2,7 @@
 
 LPC_pin PollPin[12]={p1_0, p1_1, p1_4, p1_8, p1_9, p1_10, p1_14, p1_15, p1_16, p1_17, p1_27, p1_28};
 LPCDigitalOut poll[12]={    LPCDigitalOut(PollPin[0]),
-                            LPCDigitalOut(PollPin[1]),
+                            LPCDigitalIn(PollPin[1], PullDown),
                             LPCDigitalOut(PollPin[2]),
                             LPCDigitalOut(PollPin[3]),
                             LPCDigitalOut(PollPin[4]),