1
BallastController.h
- Committer:
- sk398
- Date:
- 2016-03-10
- Revision:
- 2:9164b1d0b53d
- Parent:
- 0:8380ab528739
File content as of revision 2:9164b1d0b53d:
/* #####################################################################
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 outputToSolenoids(bool *states);
private:
protected:
// Array of Latch_FET_Driver objects - each index is a solenoid valve object
Latch_FET_Driver *Solenoids[4];
};
#endif