IO plocana FRDM K64

Revision:
15:3429cdc6e5f4
Parent:
14:b63e4664e2a8
--- a/main.cpp	Sat Apr 24 21:26:03 2021 +0200
+++ b/main.cpp	Fri Apr 30 00:06:39 2021 +0200
@@ -39,7 +39,7 @@
 
 DigitalIn b2(SW2);
 
-DigitalOut ledB(LED3,1);
+static DigitalOut ledB(LED3,1);
 
 
 
@@ -139,12 +139,8 @@
      switch( (unsigned char) uc )
      {
          case 'r': case 'R':  
-         
-            printf("\n\rcitanje registra, unesi broj:\n\r");
-            int r;
-            scanf("%x", &r);
-   //         printf( "\n\rregistar %x ima vrednost %x\n\r", r, readMiWiReg(r));
-        
+
+            NVIC_SystemReset();       
             break;
          case 'w': case 'W':  
          {