![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
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@16:2482d226cf4d, 2014-10-03 (annotated)
- Committer:
- mehatfie
- Date:
- Fri Oct 03 21:33:46 2014 +0000
- Revision:
- 16:2482d226cf4d
- Parent:
- 15:c944ee3c8a5b
- Updated Errors; - Initializes SD Card to work every time; - Cycle timer starts immediately on first cycle
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mehatfie | 11:bc9cd2869f95 | 1 | #ifndef CANDEVICE_HPP |
mehatfie | 11:bc9cd2869f95 | 2 | #define CANDEVICE_HPP |
mehatfie | 11:bc9cd2869f95 | 3 | |
mehatfie | 11:bc9cd2869f95 | 4 | #include "Initialization.hpp" |
mehatfie | 11:bc9cd2869f95 | 5 | |
mehatfie | 11:bc9cd2869f95 | 6 | class CAN_Device: public Device{ |
mehatfie | 11:bc9cd2869f95 | 7 | |
mehatfie | 11:bc9cd2869f95 | 8 | private: |
mehatfie | 16:2482d226cf4d | 9 | CAN * _canDevice; |
mehatfie | 16:2482d226cf4d | 10 | /*int selectedCAN; |
mehatfie | 11:bc9cd2869f95 | 11 | int freq; |
mehatfie | 15:c944ee3c8a5b | 12 | PinName pinRD; |
mehatfie | 16:2482d226cf4d | 13 | PinName pinTD;*/ |
mehatfie | 11:bc9cd2869f95 | 14 | vector<CANMessage> messages; |
mehatfie | 11:bc9cd2869f95 | 15 | |
mehatfie | 11:bc9cd2869f95 | 16 | public: |
mehatfie | 11:bc9cd2869f95 | 17 | CAN_Device(LineData); |
mehatfie | 11:bc9cd2869f95 | 18 | int interpret(LineData&); |
mehatfie | 11:bc9cd2869f95 | 19 | int off(); |
mehatfie | 16:2482d226cf4d | 20 | // int getSelectedCAN(); |
mehatfie | 16:2482d226cf4d | 21 | // int getFreq(); |
mehatfie | 11:bc9cd2869f95 | 22 | }; |
mehatfie | 11:bc9cd2869f95 | 23 | |
mehatfie | 11:bc9cd2869f95 | 24 | #endif |