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:28:37 2014 +0000
Parent:
13:fbd9b3f5a07c
Child:
26:78c0d7facfa7
Commit message:
Branch.

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:28:37 2014 +0000
@@ -1,7 +1,7 @@
 #include "PollSwitch.h"
 
 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 poll[12]={    LPCDigitalIn(PollPin[0], PullDown),
                             LPCDigitalOut(PollPin[1]),
                             LPCDigitalOut(PollPin[2]),
                             LPCDigitalOut(PollPin[3]),