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@11:bc9cd2869f95, 2014-10-01 (annotated)
- Committer:
- mehatfie
- Date:
- Wed Oct 01 18:11:38 2014 +0000
- Revision:
- 11:bc9cd2869f95
- Child:
- 15:c944ee3c8a5b
- Latest revision is not a working copy, simply publishing all previous working copies to the server
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 | 11:bc9cd2869f95 | 9 | int selectedCAN; |
mehatfie | 11:bc9cd2869f95 | 10 | int freq; |
mehatfie | 11:bc9cd2869f95 | 11 | vector<CANMessage> messages; |
mehatfie | 11:bc9cd2869f95 | 12 | |
mehatfie | 11:bc9cd2869f95 | 13 | public: |
mehatfie | 11:bc9cd2869f95 | 14 | CAN_Device(LineData); |
mehatfie | 11:bc9cd2869f95 | 15 | int interpret(LineData&); |
mehatfie | 11:bc9cd2869f95 | 16 | int off(); |
mehatfie | 11:bc9cd2869f95 | 17 | int getSelectedCAN(); |
mehatfie | 11:bc9cd2869f95 | 18 | int getFreq(); |
mehatfie | 11:bc9cd2869f95 | 19 | }; |
mehatfie | 11:bc9cd2869f95 | 20 | |
mehatfie | 11:bc9cd2869f95 | 21 | #endif |