pieter Berteloot
/
Project2
k
Fork of m3pi_HelloWorld by
Controller.h@8:a6afbbc052e2, 2017-04-19 (annotated)
- Committer:
- pietor
- Date:
- Wed Apr 19 09:51:15 2017 +0000
- Revision:
- 8:a6afbbc052e2
k
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
pietor | 8:a6afbbc052e2 | 1 | #ifndef Controller_h |
pietor | 8:a6afbbc052e2 | 2 | #define Controller_h |
pietor | 8:a6afbbc052e2 | 3 | #include "mbed.h" |
pietor | 8:a6afbbc052e2 | 4 | |
pietor | 8:a6afbbc052e2 | 5 | class Controller |
pietor | 8:a6afbbc052e2 | 6 | { |
pietor | 8:a6afbbc052e2 | 7 | private: |
pietor | 8:a6afbbc052e2 | 8 | |
pietor | 8:a6afbbc052e2 | 9 | |
pietor | 8:a6afbbc052e2 | 10 | public: |
pietor | 8:a6afbbc052e2 | 11 | Controller(); |
pietor | 8:a6afbbc052e2 | 12 | void rightMotor(float speedRight); |
pietor | 8:a6afbbc052e2 | 13 | void leftMotor(float speedLeft); |
pietor | 8:a6afbbc052e2 | 14 | |
pietor | 8:a6afbbc052e2 | 15 | }; |
pietor | 8:a6afbbc052e2 | 16 | #endif |