test

Dependents:   measuring_wheel Nucleo_NHK_2018_syudo_wheel wheel_test3 wheel_test4 ... more

Fork of QEI by Aaron Berk

Files at this revision

API Documentation at this revision

Comitter:
tanabe2000
Date:
Tue Jul 31 08:30:21 2018 +0000
Parent:
1:40523b009a03
Commit message:
ver2.1;

Changed in this revision

QEI.cpp Show annotated file Show diff for this revision Revisions of this file
QEI.h Show annotated file Show diff for this revision Revisions of this file
diff -r 40523b009a03 -r fe23b32e62ca QEI.cpp
--- a/QEI.cpp	Mon Jul 02 08:35:17 2018 +0000
+++ b/QEI.cpp	Tue Jul 31 08:30:21 2018 +0000
@@ -133,7 +133,7 @@
          PinName index,
          int pulsesPerRev,
          Encoding encoding) : channelA_(channelA), channelB_(channelB),
-         led(LED2), 
+//         led(LED2), 
         index_(index) {
         
     channelA_.mode(PullUp);
diff -r 40523b009a03 -r fe23b32e62ca QEI.h
--- a/QEI.h	Mon Jul 02 08:35:17 2018 +0000
+++ b/QEI.h	Tue Jul 31 08:30:21 2018 +0000
@@ -238,7 +238,7 @@
 
     volatile int pulses_;
     volatile int revolutions_;
-    DigitalOut led;
+//    DigitalOut led;
 
 };