Equipo7 LabMicros / Mbed 2 deprecated I2C_2B

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
micros22eq7
Date:
Tue Apr 26 05:21:44 2022 +0000
Parent:
3:edb0044a1052
Commit message:
v5.2

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Tue Apr 26 05:20:38 2022 +0000
+++ b/main.cpp	Tue Apr 26 05:21:44 2022 +0000
@@ -35,8 +35,7 @@
                 printf("Read Addressed: %s\n", buf);
                 break;
         }
-        for (int i = 0; i < 30; i++) {
+        for (int i = 0; i < 30; i++)
             buf[i] = 0;    // Clear buffer
-        }
     }
 }
\ No newline at end of file