1

BallastController.h

Committer:
sk398
Date:
2016-03-05
Revision:
0:8380ab528739
Child:
2:9164b1d0b53d

File content as of revision 0:8380ab528739:

/* #####################################################################
                               SD20.cpp
                               --------
                
                          Surface Ship, Group 5
                          ---------------------
 
 Written by:        Steven Kay
 
 Date:              February 2016
 
 Function:          This 
 
 Version:           1.0
 
 Version History
 ---------------
 
 1.1                rgdfgdfgdfggdfgdg
 
 1.0                gdgddfdddgd
    
 ##################################################################### */

#include "mbed.h"
#include "Latch_FET_Driver.h"

#ifndef BALLAST_CONTROLLER
#define BALLAST_CONTROLLER
 
 class BallastController
{

public:

BallastController(  PinName S1_D,PinName S1_CLK,
                    PinName S2_D,PinName S2_CLK, 
                    PinName S3_D,PinName S3_CLK, 
                    PinName S4_D,PinName S4_CLK     );
                    
void Test();
private:

protected:

Latch_FET_Driver *Solenoids[4];
//Latch_FET_Driver *Solenoid2;
//Latch_FET_Driver *Solenoid3;
//Latch_FET_Driver *Solenoid4;

};

#endif