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: DmTftLibrary eeprom SX1280Lib filesystem mbed
Fork of MSNV2-Terminal_V1-5 by
Diff: IKS01A2.h
- Revision:
- 12:e9ec35413787
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/IKS01A2.h Thu Aug 23 14:23:46 2018 +0000
@@ -0,0 +1,43 @@
+/*
+ * MISNet
+ *
+ * IKS01A2: STM Sensors Board
+ *
+ * Created on: August 17, 2018 Author: Francis CHATAIN
+ *
+ */
+#ifndef __IKS01A2_H__
+#define __IKS01A2_H__
+
+
+#include "mbed.h"
+#include "main.h"
+
+
+// ======================================= Class content
+class Iks01a2
+{
+ // Public variable /method
+ public:
+ Iks01a2();
+ ~Iks01a2();
+
+ void init () ;
+ void read () ;
+ void getValues () ;
+
+ // Private variable /method
+ private:
+ uint8_t id1, id2, id3, id4, id5, id6, id7;
+ float valueTH1, valueTH2, valueTP1, valueTP2;
+ int32_t axesA[3], axesM[3], axesG1[3], axesG2[3];
+ char buffer1[32], buffer2[32], buffer3[32], buffer4[32];
+
+ char *print_double(char* str, double v, int decimalDigits) ;
+
+ // Protected variable /method
+ protected:
+
+} ;
+
+#endif
\ No newline at end of file
