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

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Controler.h Source File

Controler.h

00001 #ifndef CONTROLER_H
00002 #define CONTROLER_H
00003 
00004 #include "mbed.h"
00005 #include "Canal.h"
00006 #include <vector>
00007 
00008 std::vector<uint32_t> checkActivity(Canal newChannel[]);
00009     /**
00010     *   check if the chanels are active and then returns an array with all the active channel in increasing order
00011     *   the first is the size, or, how many channels are active
00012     **/
00013     
00014 
00015 
00016 #endif