Thanks to Zoltan Hudak publish the way to use STM32F103c8t6 on mbed. Now, this example can let you use it with a encoder.

Dependencies:   QEI mbed-STM32F103C8T6 mbed

Fork of STM32F103C8T6_Hello by Zoltan Hudak

Revision:
1:1dd12d8c840d
Parent:
0:ab218237069e
Child:
3:c6a589f444b9
diff -r ab218237069e -r 1dd12d8c840d main.cpp
--- a/main.cpp	Sat Jul 02 07:22:32 2016 +0000
+++ b/main.cpp	Sat Jul 02 07:23:49 2016 +0000
@@ -1,3 +1,4 @@
+#include "PinNames.h"   // Pin name definitions for the STM32F103C8T6 board
 #include "mbed.h"
 
 DigitalOut myled(LED1);