Red Light Work

Fork of realtimeMMLib by Graham Nicholson

MBedStation.h

Committer:
ChrisAydon
Date:
2017-10-02
Revision:
1:b80e5f26b233
Parent:
0:9f82ee1feae7

File content as of revision 1:b80e5f26b233:


#include "sensor_base.h"
#include <iostream>
#include <string>
#include "mbed.h"

using namespace std;

class MBedStation
{
    public:
        MBedStation();
        string name;
        //sensor_base sensors[];
        int test[5];
        void setup();
        int ProcessResponse(char * Response);
        sensor_base sensors[8];
        sensor_onoff sensor_0;
        sensor_vin sensor_1;
        sensor_vin sensor_2;
        sensor_pulse sensor_3;
        DigitalOut light_1;
        DigitalOut light_2;
};