![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
main.cpp@0:c828fcf29c55, 2015-10-14 (annotated)
- Committer:
- inst
- Date:
- Wed Oct 14 06:05:20 2015 +0000
- Revision:
- 0:c828fcf29c55
- Child:
- 3:43a3d01e6bff
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
inst | 0:c828fcf29c55 | 1 | #include "mbed.h" |
inst | 0:c828fcf29c55 | 2 | #include "YMotorDriver.h" |
inst | 0:c828fcf29c55 | 3 | |
inst | 0:c828fcf29c55 | 4 | int main() { |
inst | 0:c828fcf29c55 | 5 | YMotorDriver m; |
inst | 0:c828fcf29c55 | 6 | |
inst | 0:c828fcf29c55 | 7 | while( true ) { |
inst | 0:c828fcf29c55 | 8 | m.update(); |
inst | 0:c828fcf29c55 | 9 | } |
inst | 0:c828fcf29c55 | 10 | |
inst | 0:c828fcf29c55 | 11 | return 0; |
inst | 0:c828fcf29c55 | 12 | } |