v7
Robot.h@3:3f75a7741b8f, 2017-02-27 (annotated)
- Committer:
- fab16
- Date:
- Mon Feb 27 10:30:15 2017 +0000
- Revision:
- 3:3f75a7741b8f
- Parent:
- 2:c17925c0ce25
- Child:
- 4:c8ae1b606d51
Robot v2
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
fab16 | 2:c17925c0ce25 | 1 | #include "Affichage.h" |
fab16 | 2:c17925c0ce25 | 2 | #include "LED.h" |
fab16 | 2:c17925c0ce25 | 3 | #include "Deplacement.h" |
fab16 | 3:3f75a7741b8f | 4 | #include "Pattern.h" |
fab16 | 3:3f75a7741b8f | 5 | |
fab16 | 3:3f75a7741b8f | 6 | #include "mbed.h" |
fab16 | 2:c17925c0ce25 | 7 | |
fab16 | 1:b3c45f39e86e | 8 | |
fab16 | 0:3cb651f7347b | 9 | |
fab16 | 0:3cb651f7347b | 10 | class Robot{ |
fab16 | 0:3cb651f7347b | 11 | |
fab16 | 1:b3c45f39e86e | 12 | private: |
fab16 | 1:b3c45f39e86e | 13 | |
fab16 | 1:b3c45f39e86e | 14 | bool obstacle; |
fab16 | 2:c17925c0ce25 | 15 | Affichage affichage; |
fab16 | 2:c17925c0ce25 | 16 | LED led; |
fab16 | 2:c17925c0ce25 | 17 | Deplacement deplacement; |
fab16 | 3:3f75a7741b8f | 18 | Pattern pattern; |
fab16 | 3:3f75a7741b8f | 19 | |
fab16 | 3:3f75a7741b8f | 20 | |
fab16 | 0:3cb651f7347b | 21 | |
fab16 | 1:b3c45f39e86e | 22 | public: |
fab16 | 1:b3c45f39e86e | 23 | |
fab16 | 1:b3c45f39e86e | 24 | Robot(); |
fab16 | 1:b3c45f39e86e | 25 | ~Robot(); |
fab16 | 2:c17925c0ce25 | 26 | |
fab16 | 2:c17925c0ce25 | 27 | Affichage getAffichage(); |
fab16 | 2:c17925c0ce25 | 28 | LED getLed(); |
fab16 | 2:c17925c0ce25 | 29 | Deplacement getDeplacement(); |
fab16 | 3:3f75a7741b8f | 30 | Pattern getPattern(); |
fab16 | 3:3f75a7741b8f | 31 | void action(int idAction); |
fab16 | 3:3f75a7741b8f | 32 | //SRF05 getSrf(); |
fab16 | 3:3f75a7741b8f | 33 | |
fab16 | 2:c17925c0ce25 | 34 | |
fab16 | 1:b3c45f39e86e | 35 | }; |