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.h@0:5ab9f1abaf4d, 2016-02-28 (annotated)
- Committer:
- Jamess
- Date:
- Sun Feb 28 15:54:13 2016 +0000
- Revision:
- 0:5ab9f1abaf4d
An alternative way to control which channels are active;
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| Jamess | 0:5ab9f1abaf4d | 1 | #ifndef CONTROLER_H |
| Jamess | 0:5ab9f1abaf4d | 2 | #define CONTROLER_H |
| Jamess | 0:5ab9f1abaf4d | 3 | |
| Jamess | 0:5ab9f1abaf4d | 4 | #include "mbed.h" |
| Jamess | 0:5ab9f1abaf4d | 5 | #include "Canal.h" |
| Jamess | 0:5ab9f1abaf4d | 6 | #include <vector> |
| Jamess | 0:5ab9f1abaf4d | 7 | |
| Jamess | 0:5ab9f1abaf4d | 8 | std::vector<uint32_t> checkActivity(Canal newChannel[]); |
| Jamess | 0:5ab9f1abaf4d | 9 | /** |
| Jamess | 0:5ab9f1abaf4d | 10 | * check if the chanels are active and then returns an array with all the active channel in increasing order |
| Jamess | 0:5ab9f1abaf4d | 11 | * the first is the size, or, how many channels are active |
| Jamess | 0:5ab9f1abaf4d | 12 | **/ |
| Jamess | 0:5ab9f1abaf4d | 13 | |
| Jamess | 0:5ab9f1abaf4d | 14 | |
| Jamess | 0:5ab9f1abaf4d | 15 | |
| Jamess | 0:5ab9f1abaf4d | 16 | #endif |