Template project for University of York ELE00032C Lab 2 exercises

Dependencies:   UoY-serial

Files at this revision

API Documentation at this revision

Comitter:
ajp109
Date:
Mon Jan 11 14:21:49 2021 +0000
Parent:
0:77209603a6fe
Commit message:
Initial commit

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 77209603a6fe -r 6923dfa9901e main.cpp
--- a/main.cpp	Mon Jan 11 11:28:11 2021 +0000
+++ b/main.cpp	Mon Jan 11 14:21:49 2021 +0000
@@ -2,13 +2,8 @@
 
 int main()
 {
-    int x = 4;
-    x = 6;
-    int y;
-    y = 2*x;
-    x = 7;
     
-    printf("x:%d y:%d\n", x, y);
+    // Your code should go here
     
     // Do nothing, forever...
     while (true);