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: MODDMA MODSERIAL mbed
Fork of IRIS_MBED by
Diff: botStateHandler.h
- Revision:
- 4:1017848d2fe1
diff -r 074db974b47a -r 1017848d2fe1 botStateHandler.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/botStateHandler.h Thu Mar 26 12:02:10 2015 +0000
@@ -0,0 +1,26 @@
+/*
+ * File: botStateHandler.h
+ * Author: jhudson
+ *
+ * Created on 25 March 2015, 13:31
+ */
+
+#ifndef BOTSTATEHANDLER_H
+#define BOTSTATEHANDLER_H
+
+struct sensorData {
+ unsigned char fieldCount;
+ float fields[10];
+};
+
+class botStateHandler
+{
+private:
+ struct sensorData sensors[26];
+public:
+ botStateHandler();
+ int getVal(unsigned char,unsigned char,float *);
+ int setVal(unsigned char,unsigned char,float *);
+};
+
+#endif /* BOTSTATEHANDLER_H */
