Tutorial for first mbed project

Dependencies:   mbed lib_workshop_2019

Revision:
4:bf5caf4c0c88
Parent:
3:a0e37b8918ac
--- a/src/console_output.cpp	Wed Oct 23 14:01:59 2019 +0000
+++ b/src/console_output.cpp	Wed Oct 23 19:25:12 2019 +0000
@@ -19,7 +19,16 @@
     return user_choice;
 }
 
+int ft_get_user_int(Serial &pc)
+{
+    int user_int  = (e_test) (pc.getc() -'0');
+    if (user_int > 9 || user_int < 0) 
+        return -1;
+    else
+        return user_int;
+}
+
 void ft_print_to_be_imp(Serial &pc)
 {
-    printf("\n\rTo be implemented\n");
+    printf("\rTo be implemented");
 }
\ No newline at end of file