hctl 2032 encoder for stm32

Dependencies:   FastIO

Files at this revision

API Documentation at this revision

Comitter:
c128
Date:
Fri Sep 05 13:25:16 2014 +0000
Parent:
2:3e4d1297e260
Child:
4:d99e7d8ed0be
Commit message:

Changed in this revision

EncoderCounter.cpp Show annotated file Show diff for this revision Revisions of this file
EncoderCounter.h Show annotated file Show diff for this revision Revisions of this file
--- a/EncoderCounter.cpp	Fri Sep 05 05:06:15 2014 +0000
+++ b/EncoderCounter.cpp	Fri Sep 05 13:25:16 2014 +0000
@@ -20,7 +20,7 @@
       FastIn<PC_2> bus2;
       FastIn<PC_3> bus3; 
       FastIn<PC_4> bus4;
-      FastIn<PB_9> bus5; 
+      FastIn<PB_9> bus5; // my stm32 not work PC_5
       FastIn<PC_6> bus6;
       FastIn<PC_7> bus7;       
       //PortIn HCTL_DataBus(PortC, 0x00FF);
--- a/EncoderCounter.h	Fri Sep 05 05:06:15 2014 +0000
+++ b/EncoderCounter.h	Fri Sep 05 13:25:16 2014 +0000
@@ -1,6 +1,6 @@
 // porting stm32 http://www.robogaia.com/two-axis-encoder-counter-mega-shield-version-2.html
 // by Paolo Della Vedova
-// ther is more problem to convert 5v to 3v
+// there are more problem to convert 5v to 3v
 
 #ifndef HCTL_2032_DRIVER
 #define HCTL_2032_DRIVER