This is an alternative way to control which channel is active. is saves only the channels that are active in a vector.
Fork of programmingtest by
Controler.h
- Committer:
- Jamess
- Date:
- 2016-02-28
- Revision:
- 0:5ab9f1abaf4d
File content as of revision 0:5ab9f1abaf4d:
#ifndef CONTROLER_H #define CONTROLER_H #include "mbed.h" #include "Canal.h" #include <vector> std::vector<uint32_t> checkActivity(Canal newChannel[]); /** * check if the chanels are active and then returns an array with all the active channel in increasing order * the first is the size, or, how many channels are active **/ #endif