Mini projet LOO
Dependencies: mbed APDS_9960 mbed-rtos
Home du projet
src/main.cpp@7:4b283e36b147, 2016-04-01 (annotated)
- Committer:
- clementdoreau
- Date:
- Fri Apr 01 14:30:30 2016 +0000
- Revision:
- 7:4b283e36b147
- Parent:
- 5:d6b0bf27bac6
- Child:
- 8:92d0c4961a16
Ajout divers
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
clementdoreau | 1:ab5f440f4156 | 1 | #include "mbed.h" |
clementdoreau | 1:ab5f440f4156 | 2 | #include "cMatrice.h" |
Willheisen | 4:b7a46af55574 | 3 | #include "cCarre.h" |
Willheisen | 4:b7a46af55574 | 4 | #include "cZed.h" |
clementdoreau | 7:4b283e36b147 | 5 | #include "cEl.h" |
Willheisen | 4:b7a46af55574 | 6 | |
clementdoreau | 7:4b283e36b147 | 7 | int main() { |
clementdoreau | 7:4b283e36b147 | 8 | |
clementdoreau | 7:4b283e36b147 | 9 | cMatrice ma; |
Willheisen | 3:493dd1cf30a4 | 10 | |
clementdoreau | 7:4b283e36b147 | 11 | ma.envoyerMatrice(); |
clementdoreau | 7:4b283e36b147 | 12 | ma.clear(); |
clementdoreau | 7:4b283e36b147 | 13 | cEl l(4, 4); |
clementdoreau | 7:4b283e36b147 | 14 | ma.ajouterForme(l, LED_JAUNE); |
clementdoreau | 7:4b283e36b147 | 15 | ma.envoyerMatrice(); |
clementdoreau | 7:4b283e36b147 | 16 | wait(5); |
clementdoreau | 7:4b283e36b147 | 17 | ///////////////////////////////////////////////////////////// |
clementdoreau | 7:4b283e36b147 | 18 | ma.clear(); |
clementdoreau | 7:4b283e36b147 | 19 | //l.rotationHoraire(); |
clementdoreau | 7:4b283e36b147 | 20 | //ma.afficherForme(l, LED_VERT); |
Willheisen | 5:d6b0bf27bac6 | 21 | |
clementdoreau | 7:4b283e36b147 | 22 | ma.envoyerMatrice(); |
clementdoreau | 7:4b283e36b147 | 23 | //wait(5); |
clementdoreau | 7:4b283e36b147 | 24 | while(1){ |
clementdoreau | 7:4b283e36b147 | 25 | |
clementdoreau | 7:4b283e36b147 | 26 | } |
clementdoreau | 7:4b283e36b147 | 27 | |
clementdoreau | 7:4b283e36b147 | 28 | } |