Penn Electric Racing / Mbed 2 deprecated SystemManagement

Dependencies:   mbed CANBuffer Watchdog MODSERIAL mbed-rtos xbeeRelay IAP

Fork of SystemManagement by Martin Deng

Committer:
martydd3
Date:
Fri Nov 07 21:26:46 2014 +0000
Revision:
24:f58a3c0071c3
Parent:
17:c9ce210f6654
finally compiles

Who changed what in which revision?

UserRevisionLine numberNew contents of line
martydd3 7:5f6e31faa08e 1 #ifndef _FILE_POLLSWITCH_H
martydd3 7:5f6e31faa08e 2 #define _FILE_POLLSWITCH_H
martydd3 7:5f6e31faa08e 3
martydd3 6:6a04210a3f4f 4 #include "LPCDigitalIn.h"
martydd3 0:e516fcccccda 5
martydd3 7:5f6e31faa08e 6 class PollSwitch{
martydd3 7:5f6e31faa08e 7 public:
pspatel321 17:c9ce210f6654 8 PollSwitch();
pspatel321 17:c9ce210f6654 9
pspatel321 17:c9ce210f6654 10 // Returns new state, updates last known
pspatel321 17:c9ce210f6654 11 uint16_t poll();
pspatel321 17:c9ce210f6654 12
pspatel321 17:c9ce210f6654 13 // Stores the last known state
pspatel321 17:c9ce210f6654 14 uint16_t switchState;
martydd3 7:5f6e31faa08e 15 };
martydd3 7:5f6e31faa08e 16 #endif