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.
Dependencies: mbed
Fork of frdm_serial by
Revision 9:3694ca4b48a7, committed 2014-12-08
- Comitter:
 - Pawel_13
 - Date:
 - Mon Dec 08 13:28:17 2014 +0000
 - Parent:
 - 8:7a22b8294c5d
 - Commit message:
 - Some comments were added.
 
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file | 
--- a/main.cpp	Mon Dec 08 13:21:33 2014 +0000
+++ b/main.cpp	Mon Dec 08 13:28:17 2014 +0000
@@ -27,6 +27,7 @@
     
     //Filtr Kalmana
     kf_update = kf.update(d[2], d[5]);
+    //Wyslanie wartosci w protekole szeregowym do Labview (zmienic liczbe danych w labView jest sprintf wysyla wiecej wartosci).
     sprintf(buff, "%f\n%f\n%f\r", d[5], D[5], (float) kf_update);
 //    sprintf(buff, "%f\n%f\n%f\r", d[6], d[7], d[8]);
 }
@@ -55,6 +56,7 @@
     while (true) {        
         //pc.printf("%f\n%f\n%f\r", d[3], kf_update, kf_estimated_data);
         wait(1.0f);
+        // Komentarz wprowadzam w jezyku angielskim, poniewaz program jest dostepny publicznie:::
         // Hex char 0xD = \r is the termination char in the LabVIEW VISA Configure Serial Port vi.
         // It points to the end of string and separates single vector of acquired data. 
         // Hex char 0xA = \n points to the new line. LabVIEW Pick Line vi selects the line with a float represented by string.
    