1
BallastController.h@0:8380ab528739, 2016-03-05 (annotated)
- Committer:
- sk398
- Date:
- Sat Mar 05 01:50:19 2016 +0000
- Revision:
- 0:8380ab528739
- Child:
- 2:9164b1d0b53d
Controller based on the Latch_FET_Driver class, shall be used to control the operation of the robot's ballast tanks and provide timing functions to accurately control air flow.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
sk398 | 0:8380ab528739 | 1 | /* ##################################################################### |
sk398 | 0:8380ab528739 | 2 | SD20.cpp |
sk398 | 0:8380ab528739 | 3 | -------- |
sk398 | 0:8380ab528739 | 4 | |
sk398 | 0:8380ab528739 | 5 | Surface Ship, Group 5 |
sk398 | 0:8380ab528739 | 6 | --------------------- |
sk398 | 0:8380ab528739 | 7 | |
sk398 | 0:8380ab528739 | 8 | Written by: Steven Kay |
sk398 | 0:8380ab528739 | 9 | |
sk398 | 0:8380ab528739 | 10 | Date: February 2016 |
sk398 | 0:8380ab528739 | 11 | |
sk398 | 0:8380ab528739 | 12 | Function: This |
sk398 | 0:8380ab528739 | 13 | |
sk398 | 0:8380ab528739 | 14 | Version: 1.0 |
sk398 | 0:8380ab528739 | 15 | |
sk398 | 0:8380ab528739 | 16 | Version History |
sk398 | 0:8380ab528739 | 17 | --------------- |
sk398 | 0:8380ab528739 | 18 | |
sk398 | 0:8380ab528739 | 19 | 1.1 rgdfgdfgdfggdfgdg |
sk398 | 0:8380ab528739 | 20 | |
sk398 | 0:8380ab528739 | 21 | 1.0 gdgddfdddgd |
sk398 | 0:8380ab528739 | 22 | |
sk398 | 0:8380ab528739 | 23 | ##################################################################### */ |
sk398 | 0:8380ab528739 | 24 | |
sk398 | 0:8380ab528739 | 25 | #include "mbed.h" |
sk398 | 0:8380ab528739 | 26 | #include "Latch_FET_Driver.h" |
sk398 | 0:8380ab528739 | 27 | |
sk398 | 0:8380ab528739 | 28 | #ifndef BALLAST_CONTROLLER |
sk398 | 0:8380ab528739 | 29 | #define BALLAST_CONTROLLER |
sk398 | 0:8380ab528739 | 30 | |
sk398 | 0:8380ab528739 | 31 | class BallastController |
sk398 | 0:8380ab528739 | 32 | { |
sk398 | 0:8380ab528739 | 33 | |
sk398 | 0:8380ab528739 | 34 | public: |
sk398 | 0:8380ab528739 | 35 | |
sk398 | 0:8380ab528739 | 36 | BallastController( PinName S1_D,PinName S1_CLK, |
sk398 | 0:8380ab528739 | 37 | PinName S2_D,PinName S2_CLK, |
sk398 | 0:8380ab528739 | 38 | PinName S3_D,PinName S3_CLK, |
sk398 | 0:8380ab528739 | 39 | PinName S4_D,PinName S4_CLK ); |
sk398 | 0:8380ab528739 | 40 | |
sk398 | 0:8380ab528739 | 41 | void Test(); |
sk398 | 0:8380ab528739 | 42 | private: |
sk398 | 0:8380ab528739 | 43 | |
sk398 | 0:8380ab528739 | 44 | protected: |
sk398 | 0:8380ab528739 | 45 | |
sk398 | 0:8380ab528739 | 46 | Latch_FET_Driver *Solenoids[4]; |
sk398 | 0:8380ab528739 | 47 | //Latch_FET_Driver *Solenoid2; |
sk398 | 0:8380ab528739 | 48 | //Latch_FET_Driver *Solenoid3; |
sk398 | 0:8380ab528739 | 49 | //Latch_FET_Driver *Solenoid4; |
sk398 | 0:8380ab528739 | 50 | |
sk398 | 0:8380ab528739 | 51 | }; |
sk398 | 0:8380ab528739 | 52 | |
sk398 | 0:8380ab528739 | 53 | #endif |