changed error

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
DavidElmoRoss
Date:
Fri Sep 18 14:29:32 2020 +0000
Commit message:
changed the error

Changed in this revision

Lab2a.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
diff -r 000000000000 -r f7171b5b118b Lab2a.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Lab2a.cpp	Fri Sep 18 14:29:32 2020 +0000
@@ -0,0 +1,25 @@
+/*
+    Title:  Program to generate output to the PC screen
+    Author: Your NAME, STUDENT_ID, MCO455 Lab Section
+    Date:   Today's Date
+    Description:    This program will take characters from the keyboard and
+                    continually send them to the screen. You can use ANSI
+                    ESCAPE sequences to position the cursor, clear the
+                    screen, and change screen foreground and background
+                    colours.
+*/
+#define "mbed.h"
+
+int main(void)
+{
+    unsigned char input;
+ 
+    for(;;)
+    {
+    input=getc(stdin);      // get char and put into variable input
+   // if(input == 0x0d)       // if input is <RETURN>
+   // putc(0x0a,stdout);      // output a <LINE FEED>
+    
+  
+    }
+}
diff -r 000000000000 -r f7171b5b118b mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Fri Sep 18 14:29:32 2020 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/users/mbed_official/code/mbed/builds/3a7713b1edbc
\ No newline at end of file