hanya buat kamu B

Dependencies:   QEI mbed

Revision:
1:d4e4fc0ee666
Parent:
0:bb49b8e23b5d
--- a/main.cpp	Sat Nov 05 09:56:54 2016 +0000
+++ b/main.cpp	Mon Nov 07 07:50:21 2016 +0000
@@ -1,7 +1,7 @@
 #include "mbed.h"
 #include "QEI.h"
 
-QEI encoder( PA_3, PA_2, NC, 360, QEI::X4_ENCODING);
+QEI encoder( D5, D6, NC, 1000, QEI::X2_ENCODING);
 
 Serial pc(USBTX,USBRX);