This is an alternative way to control which channel is active. is saves only the channels that are active in a vector.
Dependencies: mbed
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
Generated on Wed Jul 13 2022 02:59:04 by 1.7.2