nova proba

Revision:
7:7ea932eb31f6
Parent:
5:c9a908749d4c
Child:
11:2cc7e6f06cff
--- a/main.cpp	Tue Apr 14 13:32:02 2020 +0000
+++ b/main.cpp	Sat Apr 18 22:32:13 2020 +0000
@@ -28,7 +28,32 @@
 } 
 Thread pfv_thread(pfv_fun);
 
+
+void input_fun( void ) 
+{
+     while(true) 
+     { 
+      unsigned char uc;
+        uc = (unsigned char)getchar( );
+        printf( "\n\runesen karakter %c\n\r", uc);
+        if( uc == 'h' ) 
+        {
+            extern C_HTMLparse *gpc_html;
+                    auto c = gpc_html->getHTML_free( );
+                    printf("\n\r%s\n\r", c);
+                    free(c);
+
+        }
+     } 
+} 
+Thread input_thread(input_fun);
+
+
     C_HTMLparse *gpc_html;
+    
+    
+    
+    
 
 int main(void)
 {