Salinity and temperature sensors are implemented in classes.

Dependencies:   mbed

Waterplay.h

Committer:
mariosimaremare
Date:
2016-06-16
Revision:
3:7c648d1d8802
Child:
6:931a7fe8fa52

File content as of revision 3:7c648d1d8802:

/*
* G3: WATERPLAY
*/

#ifndef WATERPLAY_H
#define WATERPLAY_H

#include "Printer.h"
#include "TemperatureSensor.h"
#include "SalinitySensor.h"
#include "Thermostat.h"
#include "Flasher.h"

class Waterplay
{
public:
    Waterplay(
        Printer &printer,
        TemperatureSensor &temperatureSensor,
        SalinitySensor &salinitySensor,
        Thermostat &thermostat,
        Flasher &flasher
    );
    int control();

private:
    Printer &_printer;
    TemperatureSensor &_temperatureSensor;
    SalinitySensor &_salinitySensor;
    Thermostat &_thermostat;
    Flasher &_flasher;
};

#endif