read EMG, IMU, encoder

Dependencies:   mbed

Fork of LSM9DS1_project by 曾 宗圓

Revision:
1:b1562831bbaf
Child:
2:c889fecf9afe
diff -r 9632b831b6c1 -r b1562831bbaf AS5145.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/AS5145.h	Wed Dec 20 15:45:02 2017 +0000
@@ -0,0 +1,20 @@
+#ifndef AS5145_H_
+#define AS5145_H
+
+#include "mbed.h"
+
+extern SPI spi;
+extern DigitalOut CS;
+extern SPI spi2;
+extern DigitalOut CS2;
+
+extern int position[2];
+extern int position_old[2];
+extern short low_byte;
+extern short high_byte;
+
+extern void ReadValue(void);
+extern bool AS5145_begin(void);
+
+
+#endif
\ No newline at end of file