Andy Pomfret
/
UoY-32C-lab5-motor
Template project for University of York ELE00032C Lab 5
Revision 1:f32fea0468ad, committed 2021-01-30
- Comitter:
- ajp109
- Date:
- Sat Jan 30 15:27:53 2021 +0000
- Parent:
- 0:77209603a6fe
- Child:
- 2:025f2dc2b051
- Commit message:
- Initial commit
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Mon Jan 11 11:28:11 2021 +0000 +++ b/main.cpp Sat Jan 30 15:27:53 2021 +0000 @@ -1,15 +1,6 @@ #include "mbed.h" -int main() -{ - int x = 4; - x = 6; - int y; - y = 2*x; - x = 7; + +int main() { - printf("x:%d y:%d\n", x, y); - - // Do nothing, forever... - while (true); }