read encoder

Dependencies:   mbed

Revision:
2:33062fc279ca
Parent:
1:2f2a74337b77
diff -r 2f2a74337b77 -r 33062fc279ca encoder.h
--- a/encoder.h	Tue Jul 31 13:24:56 2018 +0000
+++ b/encoder.h	Tue Jul 31 14:19:56 2018 +0000
@@ -3,8 +3,8 @@
 
 #include "mbed.h"
 
+extern void init_SPI_encoder();
 extern void init_encoder();
-extern void init_SPI_encoder();
 extern void angle_measure();
 extern int angle_count(unsigned short,unsigned short);
 
@@ -17,7 +17,6 @@
 extern int angle_dif;
 extern int a_dif;
 extern int Angle;
-extern unsigned short angle_init;
 extern unsigned short k;