Chen Wei Ting
/
LSM9DS1_project_3
read encoder
Diff: encoder.h
- Revision:
- 2:33062fc279ca
- Parent:
- 1:2f2a74337b77
--- 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;