ちょっとかえた

Fork of encoder by ケンタ ミヤザキ

Revision:
1:6456080fa03b
Parent:
0:0d6f91c4a794
diff -r 0d6f91c4a794 -r 6456080fa03b encoder.h
--- a/encoder.h	Thu Mar 22 05:55:17 2018 +0000
+++ b/encoder.h	Mon Mar 26 20:42:49 2018 +0000
@@ -6,7 +6,7 @@
 class Encoder{
 public  :
     Encoder(PinName APin, PinName BPin, PinName ZPin);
-    float read_rotate();
+    int read_rotate();
     int read_z();
     void init();
 private :