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

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers CAN_Device.hpp Source File

CAN_Device.hpp

00001 #ifndef CANDEVICE_HPP
00002 #define CANDEVICE_HPP
00003 
00004 #include "Initialization.hpp"
00005 
00006 class CAN_Device: public Device{
00007     
00008     private:
00009         CAN * _canDevice;
00010         /*int selectedCAN;
00011         int freq;
00012         PinName pinRD;
00013         PinName pinTD;*/
00014         vector<CANMessage> messages;
00015         
00016     public:
00017         CAN_Device(LineData);
00018         int interpret(LineData&);
00019         int off();
00020 //        int getSelectedCAN();
00021 //        int getFreq();
00022 };
00023 
00024 #endif