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 2014_12_12_quadro_01 by
Diff: main.cpp
- Revision:
- 9:3694ca4b48a7
- Parent:
- 8:7a22b8294c5d
- Child:
- 10:2794020bfc0c
diff -r 7a22b8294c5d -r 3694ca4b48a7 main.cpp
--- 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.
