Red Light Work

Fork of realtimeMMLib by Graham Nicholson

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers MBedStation.h Source File

MBedStation.h

00001 
00002 #include "sensor_base.h"
00003 #include <iostream>
00004 #include <string>
00005 #include "mbed.h"
00006 
00007 using namespace std;
00008 
00009 class MBedStation
00010 {
00011     public:
00012         MBedStation();
00013         string name;
00014         //sensor_base sensors[];
00015         int test[5];
00016         void setup();
00017         int ProcessResponse(char * Response);
00018         sensor_base sensors[8];
00019         sensor_onoff sensor_0;
00020         sensor_vin sensor_1;
00021         sensor_vin sensor_2;
00022         sensor_pulse sensor_3;
00023         DigitalOut light_1;
00024         DigitalOut light_2;
00025 };