Andy Pomfret
/
UoY-32C-lab4-1
Template project for University of York ELE00032C Lab 4
Diff: main.cpp
- Revision:
- 2:811646ac034f
- Parent:
- 1:8290f84652d1
--- a/main.cpp Sat Jan 16 22:10:24 2021 +0000 +++ b/main.cpp Thu Feb 04 10:22:31 2021 +0000 @@ -1,18 +1,18 @@ #include "mbed.h" struct IntVector { - int x; - int y; + int x; + int y; }; int main() { - IntVector p; - - p.x = -3; - p.y = 1; - - printf("(%d, %d)\r\n", p.x, p.y); - - // Do nothing, forever... - while (true); + IntVector p; + + p.x = -3; + p.y = 1; + + printf("(%d, %d)\r\n", p.x, p.y); + + // Do nothing, forever... + while (true); }