Template project for University of York ELE00032C Lab 1

Dependencies:   UoY-serial

Files at this revision

API Documentation at this revision

Comitter:
ajp109
Date:
Mon Jan 11 12:54:05 2021 +0000
Parent:
0:ebe30d0a2ef1
Child:
2:37ebb2c62336
Commit message:
Update format specifier

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Mon Jan 11 12:48:22 2021 +0000
+++ b/main.cpp	Mon Jan 11 12:54:05 2021 +0000
@@ -4,7 +4,7 @@
 {
     int var = 100;
     
-    printf("var: %x\n", var);
+    printf("var: %d\n", var);
 
     // Do nothing, forever...
     while (true);