![](/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@15:c944ee3c8a5b, 2014-10-03 (annotated)
- Committer:
- mehatfie
- Date:
- Fri Oct 03 17:31:04 2014 +0000
- Revision:
- 15:c944ee3c8a5b
- Parent:
- 11:bc9cd2869f95
- Child:
- 16:2482d226cf4d
- readded mkdir("\sd") line which seemed to have fixed an error in the system where the system could not find any files in the SD Card on power cycle. New SD Cards wouldn't have had this directory made for the "readfileNames()" function
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 | 15:c944ee3c8a5b | 11 | PinName pinRD; |
mehatfie | 15:c944ee3c8a5b | 12 | PinName pinTD; |
mehatfie | 11:bc9cd2869f95 | 13 | vector<CANMessage> messages; |
mehatfie | 11:bc9cd2869f95 | 14 | |
mehatfie | 11:bc9cd2869f95 | 15 | public: |
mehatfie | 11:bc9cd2869f95 | 16 | CAN_Device(LineData); |
mehatfie | 11:bc9cd2869f95 | 17 | int interpret(LineData&); |
mehatfie | 11:bc9cd2869f95 | 18 | int off(); |
mehatfie | 11:bc9cd2869f95 | 19 | int getSelectedCAN(); |
mehatfie | 11:bc9cd2869f95 | 20 | int getFreq(); |
mehatfie | 11:bc9cd2869f95 | 21 | }; |
mehatfie | 11:bc9cd2869f95 | 22 | |
mehatfie | 11:bc9cd2869f95 | 23 | #endif |