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.
Fork of Repo_Noeud_Mobile by
Cible/Cible.h@3:a77d02cb5694, 2015-03-05 (annotated)
- Committer:
- llarose
- Date:
- Thu Mar 05 19:04:27 2015 +0000
- Revision:
- 3:a77d02cb5694
CountDown, Cibles
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
llarose | 3:a77d02cb5694 | 1 | |
llarose | 3:a77d02cb5694 | 2 | #include "mbed.h" |
llarose | 3:a77d02cb5694 | 3 | #include "rtos.h" |
llarose | 3:a77d02cb5694 | 4 | |
llarose | 3:a77d02cb5694 | 5 | #define NBRE_CIBLE 3 |
llarose | 3:a77d02cb5694 | 6 | |
llarose | 3:a77d02cb5694 | 7 | class Cible |
llarose | 3:a77d02cb5694 | 8 | { |
llarose | 3:a77d02cb5694 | 9 | public: |
llarose | 3:a77d02cb5694 | 10 | Cible(); |
llarose | 3:a77d02cb5694 | 11 | ~Cible(); |
llarose | 3:a77d02cb5694 | 12 | void reset(); |
llarose | 3:a77d02cb5694 | 13 | void set(int); |
llarose | 3:a77d02cb5694 | 14 | private: |
llarose | 3:a77d02cb5694 | 15 | DigitalOut* led[3]; |
llarose | 3:a77d02cb5694 | 16 | |
llarose | 3:a77d02cb5694 | 17 | }; |