Penn Electric Racing / Mbed 2 deprecated SystemManagement

Dependencies:   mbed CANBuffer Watchdog MODSERIAL mbed-rtos xbeeRelay IAP

Fork of SystemManagement by Martin Deng

PollSwitch/PollSwitch.h

Committer:
martydd3
Date:
2014-10-10
Revision:
7:5f6e31faa08e
Parent:
6:6a04210a3f4f
Child:
12:e0adb697fcdb

File content as of revision 7:5f6e31faa08e:

#ifndef _FILE_POLLSWITCH_H
#define _FILE_POLLSWITCH_H

#include "LPCDigitalOut.h"
#include "LPCDigitalIn.h"
#include "CANBuffer.h"
#include "rtos.h"

const int TX_POLL_ID = ((4 << 8) | 6);

class PollSwitch{
    public:
        PollSwitch(CANBuffer *can);
        void start_update();  
};
#endif