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: Plotting/Plotting.h
- Revision:
- 0:b638163ed537
diff -r 000000000000 -r b638163ed537 Plotting/Plotting.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Plotting/Plotting.h Mon Nov 11 00:06:25 2019 +0000
@@ -0,0 +1,21 @@
+#ifndef MBED_PLOTTING_H
+#define MBED_PLOTTING_H
+
+#include "mbed.h"
+
+class Plotting
+{
+private:
+ float datas[32];
+ int dataCount;
+public:
+ Plotting();
+
+ void reset();
+ void put(float data, int index);
+ void put(int data, int index);
+ void put(unsigned int data, int index);
+ void send(Serial *port);
+};
+
+#endif