Template project for University of York ELE00032C Lab 5

Dependencies:   UoY-serial

Files at this revision

API Documentation at this revision

Comitter:
ajp109
Date:
Mon Jan 11 11:28:11 2021 +0000
Child:
1:f32fea0468ad
Commit message:
Initial commit

Changed in this revision

UoY-serial.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed-os.lib Show annotated file Show diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/UoY-serial.lib	Mon Jan 11 11:28:11 2021 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/users/ajp109/code/UoY-serial/#a86a8c72aca6
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Mon Jan 11 11:28:11 2021 +0000
@@ -0,0 +1,15 @@
+#include "mbed.h"
+
+int main()
+{
+    int x = 4;
+    x = 6;
+    int y;
+    y = 2*x;
+    x = 7;
+    
+    printf("x:%d y:%d\n", x, y);
+    
+    // Do nothing, forever...
+    while (true);
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed-os.lib	Mon Jan 11 11:28:11 2021 +0000
@@ -0,0 +1,1 @@
+https://github.com/armmbed/mbed-os/#c6d65fe5082aeef6bf0d7043b4cbf0a9cc9a9d5e