on test and not completed based on nucleo_hello_encoder library

Dependencies:   mbed

Fork of Nucleo_Hello_Encoder by David Lowe

Revision:
2:70f92ce7d983
Parent:
1:3d2fffa6e19f
--- a/Encoder/CounterInit.cpp	Tue Sep 29 06:42:15 2015 +0000
+++ b/Encoder/CounterInit.cpp	Tue Sep 29 06:50:08 2015 +0000
@@ -4,7 +4,7 @@
 {
     timer.Instance = TIMx;
     timer.Init.Period = maxcount;
-    timer.Init.CounterMode = TIM_COUNTERMODE_UP;
+    timer.Init.CounterMode = TIM_COUNTERMODE_UP; //TIM_COUNTERMODE_CENTERALIGNED3 for up/down ...
     timer.Init.Prescaler = 0;
     timer.Init.ClockDivision = TIM_CLOCKDIVISION_DIV1;
     timer.Init.RepetitionCounter = 0;