Component Test's Software to work with "Universal Controller Box" - Software is an interpreter or "compiler" for programs to be done with a .txt file and read off of the SD Card

Dependencies:   BridgeDriver FrontPanelButtons MCP23017 SDFileSystem TextLCD mbed

Devices/CAN_Device.hpp

Committer:
mehatfie
Date:
2014-10-03
Revision:
15:c944ee3c8a5b
Parent:
11:bc9cd2869f95
Child:
16:2482d226cf4d

File content as of revision 15:c944ee3c8a5b:

#ifndef CANDEVICE_HPP
#define CANDEVICE_HPP

#include "Initialization.hpp"

class CAN_Device: public Device{
    
    private:
        int selectedCAN;
        int freq;
        PinName pinRD;
        PinName pinTD;
        vector<CANMessage> messages;
        
    public:
        CAN_Device(LineData);
        int interpret(LineData&);
        int off();
        int getSelectedCAN();
        int getFreq();
};

#endif