Red Light Work

Fork of realtimeMMLib by Graham Nicholson

MBedStation.h

Committer:
ChrisAydon
Date:
2018-02-15
Revision:
2:ed0430db9b2b
Parent:
1:b80e5f26b233

File content as of revision 2:ed0430db9b2b:


#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;
};