Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Controler.cpp
00001 #include "Controler.h" 00002 00003 std::vector<uint32_t> checkActivity(Canal newChannel[]){ 00004 00005 vector<uint32_t> activeChannelVector; 00006 00007 for(int count = 1; count<30;count++){ 00008 00009 if(newChannel[count].getState() == 0){ 00010 00011 //the chanel is not active 00012 00013 00014 }else if(newChannel[count].getState() == 1){ 00015 //the chanel is active 00016 00017 activeChannelVector.push_back(count); 00018 00019 }else{ 00020 //error here 00021 } 00022 } 00023 00024 00025 00026 return activeChannelVector; 00027 00028 }
Generated on Wed Jul 13 2022 02:59:04 by
1.7.2