Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: serie.h
- Revision:
- 10:6f9340af7926
- Parent:
- 8:cfcf73c16fab
- Child:
- 11:0b85a680ad28
diff -r 5492f863b9e8 -r 6f9340af7926 serie.h
--- a/serie.h	Thu Sep 09 08:51:23 2021 +0000
+++ b/serie.h	Tue Sep 14 13:45:11 2021 +0000
@@ -5,10 +5,10 @@
  {  // ici on decode un exemple simple 
     // un 'a' met posx = 10  un  'b' met  posx = 20 
    arecv =  serie.getc();
-   if (arecv == 'a') // c'est  un 'a'
-      { posx = 10 ; 
+   if (arecv == 'a') // c'est  un 'a' qui arrive
+      { posx = 10 ;   // la position x changera 
       }
-   if (arecv == 'b')// c'est B
+   if (arecv == 'b')// c'est  un 'b' qui arrive
       { posx = 20 ; 
       }     
    return;