This is an alternative way to control which channel is active. is saves only the channels that are active in a vector.

Dependencies:   mbed

Fork of programmingtest by RespiratorySensor Team

Canal.h

Committer:
Jamess
Date:
2016-02-28
Revision:
0:5ab9f1abaf4d

File content as of revision 0:5ab9f1abaf4d:

#ifndef CANAL_H
#define CANAL_H

#include <vector>
#include "mbed.h"


class Canal{
    public:
        
        Canal();
        bool getState(void);
        void setState(bool);
    private:
        bool state;
        
    };

#endif